소스 검색

Fault code, optional dp 13

spuljko 2 년 전
부모
커밋
90278dc6c6
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 2
      custom_components/tuya_local/devices/blitzwolf_bwsh5_humidifier.yaml

+ 5 - 2
custom_components/tuya_local/devices/blitzwolf_bwsh5_humidifier.yaml

@@ -38,6 +38,10 @@ primary_entity:
     - id: 14
       name: current_humidity
       type: integer
+    - id: 22
+      name: fault_code
+      type: integer
+      optional: true
 secondary_entities:
   - entity: switch
     name: UV sterilization
@@ -182,5 +186,4 @@ secondary_entities:
         mapping:
           - dps_val: 0
             value: false
-          - dps_val: 1
-            value: true
+          - value: true