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

@ -1 +1 @@
0.62.0
0.61.1

View File

@ -4,6 +4,9 @@
#db_url: sqlite:///data/home-assistant_v2.db
purge_interval: 1
purge_keep_days: 7
include:
entities:
- group.landscaping
exclude:
domains:
- updater
@ -15,7 +18,6 @@ exclude:
entities:
- binary_sensor.bedroom_motion
- binary_sensor.clock_motion
- binary_sensor.skybell_stone_door_button
- binary_sensor.office_motion
- sensor.bitcoin
- sensor.carlo_6s_battery_state

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 }}