Trying to fix garage door icon

This commit is contained in:
Jeffrey Stone 2017-04-18 11:04:14 -04:00
parent 7d62e5335e
commit a885a2f58b
1 changed files with 8 additions and 1 deletions

View File

@ -14,4 +14,11 @@
{% else %}
Unknown
{%- 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 %}'
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 %}