Tweaking Garage Door icon template
This commit is contained in:
parent
193e633609
commit
cd3f1e9456
|
@ -14,4 +14,4 @@
|
|||
{% else %}
|
||||
Unknown
|
||||
{%- endif %}
|
||||
icon_template: '{%- if is_state("sensor.garage_door", "unknown") %}mdi:sync-alert{%- elif is_state("cover.garage_door", "open") %}mdi:garage-open{% else %}mdi:garage{%- endif %}'
|
||||
icon_template: '{%- if is_state("sensor.garage_door", "Closed") %}mdi:garage{%- elif is_state("sensor.garage_door", "Open") %}mdi:garage-open{% else %}mdi:sync-alert{%- endif %}'
|
||||
|
|
Loading…
Reference in New Issue