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

Add separate secondary entity for Tank full

The entity I had wouldn't actually have covered a Tank full message. It
only works for E2. Added a secondary bitfield to handle Tank full.
evanfoster 2 лет назад
Родитель
Сommit
255efb8f87

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

@@ -157,9 +157,23 @@ secondary_entities:
             value: 23 hours
           - dps_val: 24h
             value: 24 hours
+  - entity: binary_sensor
+    class: problem
+    name: Tank full
+    category: diagnostic
+    icon: "mdi:cup-water"
+    dps:
+      - id: 19
+        type: bitfield
+        name: sensor
+        mapping:
+          - dps_val: 1
+            value: true
+          - value: false
   - entity: binary_sensor
     class: problem
     name: Fault
+    category: diagnostic
     dps:
       - id: 19
         type: bitfield