Updated batt and garage icons to update based on state

This commit is contained in:
Jeffrey Stone
2017-04-17 11:24:22 -04:00
parent 3acbe1c65f
commit 25030bb86a
4 changed files with 3 additions and 70 deletions

View File

@@ -14,3 +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 %}'