From cd3f1e945622db1f586bfad57b5ae4b13740ca93 Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Mon, 17 Apr 2017 11:51:01 -0400 Subject: [PATCH] Tweaking Garage Door icon template --- sensors/smartthings.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sensors/smartthings.yaml b/sensors/smartthings.yaml index d867b9d..d50fa79 100644 --- a/sensors/smartthings.yaml +++ b/sensors/smartthings.yaml @@ -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 %}'