فهرست منبع

Lefant N3: mixed constraint and conditions

Issue #1393
Jason Rumney 2 سال پیش
والد
کامیت
c67099f2b3
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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