瀏覽代碼

Use translation key in place of name/class

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

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

@@ -67,9 +67,7 @@ entities:
         name: fault_code
   - entity: binary_sensor
     name: Water tank
-    class: problem
-    category: diagnostic
-    icon: "mdi:water"
+    translation_key: tank_full
     dps:
       - id: 19
         type: bitfield