mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-04-29 06:48:16 +00:00
Tweak speech. Add a separate music function
This commit is contained in:
@@ -1,12 +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_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 -%}
|
||||
{%- else -%}
|
||||
All windows are closed.
|
||||
{%- endif -%}
|
||||
|
||||
Reference in New Issue
Block a user