Fix window sensor names

This commit is contained in:
2020-06-14 21:43:08 +03:00
parent 7428bb1ae8
commit 90c3e1a853
6 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
>-
{%- if is_state('group.all_windows', 'on') -%}
{%- if is_state('binary_sensor.living_room_right_window_on_off', 'on') -%} The living room window is opened. {% endif %}
{%- if is_state('binary_sensor.bedroom_right_window_on_off', 'on') -%} The master bedroom window is opened. {%- endif -%}
{%- if is_state('binary_sensor.living_room_right_window', 'on') -%} The living room window is opened. {% endif %}
{%- if is_state('binary_sensor.bedroom_right_window', 'on') -%} The master bedroom window is opened. {%- endif -%}
{%- else -%}
All windows are closed.
{%- endif -%}