瀏覽代碼

Fix display status for water tank status

Nikolas Andreou 1 年之前
父節點
當前提交
304b564540
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      custom_components/tuya_local/devices/morris_mdb_12160hiw_dehumidifier.yaml

+ 2 - 3
custom_components/tuya_local/devices/morris_mdb_12160hiw_dehumidifier.yaml

@@ -75,10 +75,9 @@ entities:
         type: bitfield
         type: bitfield
         name: sensor
         name: sensor
         mapping:
         mapping:
-          - dps_val: 0
-            value: "ok"
           - dps_val: 1
           - dps_val: 1
-            value: "full"
+            value: true
+          - value: false
   - entity: switch
   - entity: switch
     name: Oscillation
     name: Oscillation
     icon: mdi:arrow-oscillating
     icon: mdi:arrow-oscillating