Trying to fix garage door icon

This commit is contained in:
Jeffrey Stone 2017-04-18 10:59:15 -04:00
parent cd3f1e9456
commit 7d62e5335e
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", "Closed") %}mdi:garage{%- elif is_state("sensor.garage_door", "Open") %}mdi:garage-open{% else %}mdi:sync-alert{%- endif %}'
icon_template: '{%- if is_state("cover.garage_door", "closed") %}mdi:garage{%- elif is_state("cover.garage_door", "open") %}mdi:garage-open{% else %}mdi:sync-alert{%- endif %}'