From a885a2f58b3e49959612d49217743b4872f89cc4 Mon Sep 17 00:00:00 2001 From: Jeffrey Stone <thejeffreystone@gmail.com> Date: Tue, 18 Apr 2017 11:04:14 -0400 Subject: [PATCH] Trying to fix garage door icon --- sensors/smartthings.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sensors/smartthings.yaml b/sensors/smartthings.yaml index 00812d8..be8de51 100644 --- a/sensors/smartthings.yaml +++ b/sensors/smartthings.yaml @@ -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 %}