Просмотр исходного кода

Add ionizer primary dp to help device detection

evanfoster 2 лет назад
Родитель
Сommit
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