4
0
Nikolas Andreou 11 сар өмнө
parent
commit
79be07437b

+ 7 - 6
custom_components/tuya_local/devices/morris_mdb_12160hiw_dehumidifier.yaml

@@ -65,19 +65,20 @@ entities:
       - id: 19
       - id: 19
         type: bitfield
         type: bitfield
         name: fault_code
         name: fault_code
-  - entity: sensor
-    name: Water Status
-    icon: "mdi:water"
+  - entity: binary_sensor
+    name: Water tank
+    class: problem
     category: diagnostic
     category: diagnostic
+    icon: "mdi:water"
     dps:
     dps:
       - id: 19
       - id: 19
         type: bitfield
         type: bitfield
-        name: Water Status
+        name: sensor
         mapping:
         mapping:
           - dps_val: 0
           - dps_val: 0
-            value: "normal"
+            value: "OK"
           - dps_val: 1
           - dps_val: 1
-            value: "full"
+            value: "Full"
   - entity: switch
   - entity: switch
     name: Oscillation
     name: Oscillation
     icon: mdi:arrow-oscillating
     icon: mdi:arrow-oscillating