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

fix(arlec_ceh243ha_heater): naming and icon tweaks

- use model_id and model in place of model and name.
- do not override time_remaining icon

PR #3408
Jason Rumney 8 месяцев назад
Родитель
Сommit
e40d472ffb
1 измененных файлов с 2 добавлено и 3 удалено
  1. 2 3
      custom_components/tuya_local/devices/arlec_ceh243ha_heater.yaml

+ 2 - 3
custom_components/tuya_local/devices/arlec_ceh243ha_heater.yaml

@@ -2,8 +2,8 @@ name: Heater
 products:
   - id: aghicza5yssgo84u
     manufacturer: Arlec
-    model: ceh243ha
-    name: "2400W ceramic heater"
+    model_id: ceh243ha
+    model: "2400W ceramic heater"
 entities:
   - entity: climate
     translation_only_key: heater
@@ -69,7 +69,6 @@ entities:
     translation_key: time_remaining
     class: duration
     category: diagnostic
-    icon: "mdi:timer"
     dps:
       - id: 20
         type: integer