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

Change heater wattage to 'class: power' instead of hardcoded icon

Kevin Ou 1 год назад
Родитель
Сommit
433605982c
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      custom_components/tuya_local/devices/drexma_et7aw_thermostat.yaml

+ 2 - 2
custom_components/tuya_local/devices/drexma_et7aw_thermostat.yaml

@@ -274,9 +274,9 @@ entities:
           - dps_val: true
             value: °F
   - entity: number
-    category: config
     name: Heater Wattage
-    icon: "mdi:lightning-bolt-circle"
+    class: power
+    category: config
     hidden: true
     dps:
       - id: 116