adding back in haunted mansion guest welcome

This commit is contained in:
Jeffrey Stone 2020-04-10 13:39:34 -04:00
parent c933e1b566
commit 403b7ebf5b
1 changed files with 21 additions and 0 deletions

View File

@ -1089,4 +1089,25 @@ script:
entity_id: media_player.ha_speaker
data:
media_content_id: http://192.168.7.40/audio/This_is_Halloween.mp3
media_content_type: "music"
haunted_guest_welcome:
sequence:
- condition: state
entity_id: input_boolean.audible_notifications
state: 'on'
- condition: state
entity_id: sensor.family_status
state: Home
- service: media_player.turn_on
entity_id: media_player.ha_speaker
- service: media_player.volume_set
data_template:
entity_id: media_player.ha_speaker
volume_level: >
.5
- service: media_player.play_media
entity_id: media_player.ha_speaker
data:
media_content_id: http://192.168.7.40/audio/haunted_guest_welcome.mp3
media_content_type: "music"