mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-07-21 19:40:17 +00:00
adding back in haunted mansion guest welcome
This commit is contained in:
parent
c933e1b566
commit
403b7ebf5b
@ -1090,3 +1090,24 @@ script:
|
||||
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"
|
Loading…
x
Reference in New Issue
Block a user