Adding Voice Notifications to the house. Mic Drop!

This commit is contained in:
CCOSTAN
2017-02-03 20:12:21 +00:00
parent 5639552272
commit 3679b9511d
3 changed files with 42 additions and 20 deletions

View File

@@ -10,13 +10,10 @@
- platform: event
event_type: amp_on
- platform: state
entity_id: media_player.whole_house
from: 'off'
to: 'playing'
- platform: state
entity_id: media_player.livingroomcc
from: 'off'
to: 'playing'
entity_id:
- media_player.livingroomcc
- media_player.whole_house
action:
- service: switch.turn_on
entity_id: switch.living_room_amp
@@ -27,13 +24,12 @@
- platform: event
event_type: amp_off
- platform: state
entity_id: media_player.whole_house
from: 'playing'
to: 'off'
- platform: state
entity_id: media_player.livingroomcc
entity_id:
- media_player.livingroomcc
- media_player.whole_house
from: 'playing'
to: 'off'
for: '00:30:00'
action:
- service: switch.turn_off