Some minor Updates to ALARM code and sound redirection.

This commit is contained in:
ccostan
2018-01-29 17:11:33 -05:00
parent b18bded94a
commit 39aa798be5
4 changed files with 15 additions and 13 deletions

View File

@@ -32,8 +32,6 @@
data:
media_player: 'media_player.livingroomcc'
volume_level: 0.22
- wait_template: >-
{{ states.switch.living_room_amp.state == 'on' }}
- service: media_player.play_media
data_template:

View File

@@ -19,8 +19,6 @@
data:
media_player: 'media_player.livingroomcc'
volume_level: 0.22
- wait_template: >-
{{ states.switch.living_room_amp.state == 'on' }}
- service: media_player.play_media
data_template:
@@ -28,8 +26,7 @@
{% if states.group.bed.state == 'off' %}
media_player.livingroomCC
{% else %}
- media_player.alarm_clock
- media_player.bedroom_alarm_panel
media_player.alarm_clock, media_player.bedroom_alarm_panel
{% endif %}
media_content_id: >
{% if trigger.to_state.state == 'on' %}