mirror of
https://github.com/skalavala/mysmarthome.git
synced 2025-08-27 06:56:27 +00:00
minor changes.
This commit is contained in:
@@ -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 -%}
|
||||
|
@@ -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 %}
|
||||
|
Reference in New Issue
Block a user