Просмотр исходного кода

Use translation key in place of name/class

Nikolas Andreou 11 месяцев назад
Родитель
Сommit
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
         name: fault_code
   - entity: binary_sensor
   - entity: binary_sensor
     name: Water tank
     name: Water tank
-    class: problem
-    category: diagnostic
-    icon: "mdi:water"
+    translation_key: tank_full
     dps:
     dps:
       - id: 19
       - id: 19
         type: bitfield
         type: bitfield