Kaynağa Gözat

Lefant N3: mixed constraint and conditions

Issue #1393
Jason Rumney 2 yıl önce
ebeveyn
işleme
c67099f2b3

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

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