Moving Haunted Mansion show to new source due to hass-core migration
This commit is contained in:
parent
824675731d
commit
dbcfee9601
|
@ -33,6 +33,24 @@ automation:
|
||||||
- service: script.kill_this_ride
|
- service: script.kill_this_ride
|
||||||
- service: media_player.media_stop
|
- service: media_player.media_stop
|
||||||
entity_id: media_player.ha_speaker
|
entity_id: media_player.ha_speaker
|
||||||
|
- service: script.turn_off
|
||||||
|
entity_id: script.haunted_mansion_lights
|
||||||
|
|
||||||
|
- id: haunted_mansion_show_trigger
|
||||||
|
alias: Haunted Mansion show Trigger
|
||||||
|
initial_state: true
|
||||||
|
trigger:
|
||||||
|
- platform: state
|
||||||
|
entity_id: media_player.theater
|
||||||
|
to: 'playing'
|
||||||
|
condition:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.haunted_mansion
|
||||||
|
state: 'on'
|
||||||
|
action:
|
||||||
|
- service: script.turn_on
|
||||||
|
entity_id: script.haunted_mansion_lights
|
||||||
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
haunted_mansion_start:
|
haunted_mansion_start:
|
||||||
|
@ -43,8 +61,18 @@ script:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: sensor.family_status
|
entity_id: sensor.family_status
|
||||||
state: Home
|
state: Home
|
||||||
- service: shell_command.normal_vol
|
- service: media_player.volume_set
|
||||||
- service: shell_command.haunted_mansion_preshow_full
|
data_template:
|
||||||
|
entity_id: media_player.theater
|
||||||
|
volume_level: .5
|
||||||
|
- service: media_player.play_media
|
||||||
|
entity_id: media_player.theater
|
||||||
|
data:
|
||||||
|
media_content_id: http://192.168.7.40/audio/haunted_mansion_preshow_full.mp3
|
||||||
|
media_content_type: "music"
|
||||||
|
|
||||||
|
haunted_mansion_lights:
|
||||||
|
sequence:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id: group.rgb_lr
|
entity_id: group.rgb_lr
|
||||||
data:
|
data:
|
||||||
|
|
Loading…
Reference in New Issue