瀏覽代碼

Add ionizer primary dp to help device detection

evanfoster 2 年之前
父節點
當前提交
7db2506606
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      custom_components/tuya_local/devices/vivosun_de0003_dehumidifier.yaml

+ 5 - 0
custom_components/tuya_local/devices/vivosun_de0003_dehumidifier.yaml

@@ -44,6 +44,11 @@ primary_entity:
     - id: 6
     - id: 6
       type: integer
       type: integer
       name: current_humidity
       name: current_humidity
+    # This doesn't actually have an ionizer, but having the dp
+    # will aid in detection
+    - id: 10
+      type: boolean
+      name: ionizer
     - id: 19
     - id: 19
       name: error
       name: error
       type: bitfield
       type: bitfield