Преглед изворни кода

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