mirror of
https://github.com/skalavala/mysmarthome.git
synced 2025-08-27 14:57:19 +00:00
minor fixes
This commit is contained in:
@@ -94,7 +94,7 @@
|
||||
"switch.kids_bedroom",
|
||||
"switch.kitchen",
|
||||
"switch.office_room",
|
||||
"switch.wemobackyardlightswitch"] %}
|
||||
"switch.backyard_light"] %}
|
||||
{% 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,7 +28,7 @@
|
||||
"switch.kids_bedroom",
|
||||
"switch.kitchen",
|
||||
"switch.office_room",
|
||||
"switch.wemobackyardlightswitch"] %}
|
||||
"switch.backyard_light"] %}
|
||||
{%- 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