소스 검색

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