Преглед на файлове

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