Explorar o código

Lefant N3: mixed constraint and conditions

Issue #1393
Jason Rumney %!s(int64=2) %!d(string=hai) anos
pai
achega
c67099f2b3
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      custom_components/tuya_local/devices/lefant_n3_vacuum.yaml

+ 2 - 2
custom_components/tuya_local/devices/lefant_n3_vacuum.yaml

@@ -29,8 +29,8 @@ primary_entity:
       optional: true
       mapping:
         - dps_val: smart
-          conditions: power
-          constraint:
+          constraint: power
+          conditions:
             - dps_val: true
               value: smart
         - dps_val: chargego