瀏覽代碼

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