Tweaking Garage Door icon template

This commit is contained in:
Jeffrey Stone 2017-04-17 11:51:01 -04:00
parent 193e633609
commit cd3f1e9456
1 changed files with 1 additions and 1 deletions

View File

@ -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 %}'