소스 검색

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