瀏覽代碼

Morris MDB12160HIW: naming changes

- translated entities are better without explicit names where possible.
- icon change for Laundry switch

PR #3080
Jason Rumney 1 年之前
父節點
當前提交
c991fd4159
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      custom_components/tuya_local/devices/morris_mdb_12160hiw_dehumidifier.yaml

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

@@ -51,7 +51,6 @@ entities:
         type: boolean
         name: lock
   - entity: binary_sensor
-    name: Status
     class: problem
     category: diagnostic
     dps:
@@ -61,12 +60,13 @@ entities:
         mapping:
           - dps_val: 0
             value: false
+          - dps_val: 1
+            value: false
           - value: true
       - id: 19
         type: bitfield
         name: fault_code
   - entity: binary_sensor
-    name: Water tank
     translation_key: tank_full
     dps:
       - id: 19
@@ -101,7 +101,7 @@ entities:
         name: switch
   - entity: switch
     name: Laundry
-    icon: mdi:dishwasher
+    icon: mdi:tshirt-crew
     category: config
     dps:
       - id: 105