From 403b7ebf5be8a951f9b814bcbc082c0def2dac5d Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Fri, 10 Apr 2020 13:39:34 -0400 Subject: [PATCH] adding back in haunted mansion guest welcome --- config/packages/disney.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/config/packages/disney.yaml b/config/packages/disney.yaml index f164276..c577398 100755 --- a/config/packages/disney.yaml +++ b/config/packages/disney.yaml @@ -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" \ No newline at end of file