More speech and sound redirection through out the house if we are in bed or sleeping.

This commit is contained in:
ccostan
2018-01-28 17:56:08 -05:00
parent 97a54bf65a
commit 7514a536c2
3 changed files with 10 additions and 3 deletions

View File

@@ -61,7 +61,12 @@ speech_processing:
- service: tts.amazon_polly_say
data_template:
entity_id: >
{{ media_player }}
{% if states.group.bed.state == 'off' %}
media_player.livingroomCC
{% else %}
- media_player.alarm_clock
- media_player.bedroom_alarm_panel
{% endif %}
message: >-
<speak>
{{ speech_message }}