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

Remora Heatpump: change icon when in an error state and the device is on.

Similar to tank full indication on dehumidifier, it can help draw attention to
the abnormal state if the icon is changed.
Jason Rumney 4 лет назад
Родитель
Сommit
f0849f1b7d
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      custom_components/tuya_local/devices/remora_heatpump.yaml

+ 2 - 0
custom_components/tuya_local/devices/remora_heatpump.yaml

@@ -48,3 +48,5 @@ primary_entity:
           value: "OK"
           value: "OK"
         - dps_val: 1
         - dps_val: 1
           value: "Water Flow Protection"
           value: "Water Flow Protection"
+          icon: "mdi:water-pump-off"
+          icon_priority: 2