minor changes.

This commit is contained in:
Mahasri Kalavala
2020-09-26 21:20:27 -04:00
parent c252626d3a
commit f9b1c6ec4f
27 changed files with 566 additions and 384 deletions

View File

@@ -94,8 +94,7 @@
"switch.kids_bedroom",
"switch.kitchen",
"switch.office_room",
"switch.wemobackyardlightswitch",
"switch.zwave_smart_switch_switch"] %}
"switch.wemobackyardlightswitch"] %}
{% for item in lights_switches -%}
{%- if states[item.split('.')[0]][item.split('.')[1]].state == "on" -%}
{%- set friendly_name = states[item.split('.')[0]][item.split('.')[1]].attributes.friendly_name -%}

View File

@@ -28,8 +28,7 @@
"switch.kids_bedroom",
"switch.kitchen",
"switch.office_room",
"switch.wemobackyardlightswitch",
"switch.zwave_smart_switch_switch"] %}
"switch.wemobackyardlightswitch"] %}
{%- for item in lights_switches -%}
{%- if states[item.split('.')[0]][item.split('.')[1]].state == "on" -%}
{%- set friendly_name = states[item.split('.')[0]][item.split('.')[1]].attributes.friendly_name %}