Fixed Haunted Mansion light effects
This commit is contained in:
parent
2d9dacca11
commit
f3f72b2bf9
|
@ -26,6 +26,14 @@ input_boolean:
|
|||
name: Tiki Room
|
||||
illuminations:
|
||||
name: Illuminations
|
||||
move_shake_dance:
|
||||
name: Move It Shake It Dance It
|
||||
welcome_show:
|
||||
name: Welcome Show
|
||||
american_adventure:
|
||||
name: American Adventure
|
||||
disney_springs_xmas:
|
||||
name: Disney Springs XMas
|
||||
|
||||
automation:
|
||||
- id: mk_loop_on
|
||||
|
@ -223,7 +231,8 @@ automation:
|
|||
entity_id: script.kill_this_ride
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.ha_speaker
|
||||
- id: holiday_wisher_on
|
||||
|
||||
- id: holiday_wishes_on
|
||||
alias: Holiday Wishes On
|
||||
initial_state: true
|
||||
trigger:
|
||||
|
@ -232,7 +241,7 @@ automation:
|
|||
to: 'on'
|
||||
action:
|
||||
- service: script.turn_on
|
||||
entity_id: script.holiday_wishes_start
|
||||
entity_id: script.holiday_wishes
|
||||
- id: holiday_wishes_off
|
||||
alias: Holiday Wishes Off
|
||||
initial_state: true
|
||||
|
@ -246,6 +255,99 @@ automation:
|
|||
- service: media_player.media_stop
|
||||
entity_id: media_player.ha_speaker
|
||||
|
||||
- id: welcome_show_on
|
||||
alias: Welcome Show On
|
||||
initial_state: true
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.welcome_show
|
||||
to: 'on'
|
||||
action:
|
||||
- service: script.turn_on
|
||||
entity_id: script.welcome_show_audio
|
||||
- id: welcome_show_off
|
||||
alias: Welcome Show Off
|
||||
initial_state: true
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.welcome_show
|
||||
to: 'off'
|
||||
action:
|
||||
- service: script.turn_on
|
||||
entity_id: script.kill_this_ride
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.ha_speaker
|
||||
|
||||
- id: american_adventure_on
|
||||
alias: American Adventure On
|
||||
initial_state: true
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.american_adventure
|
||||
to: 'on'
|
||||
action:
|
||||
- service: script.turn_on
|
||||
entity_id: script.american_adventure
|
||||
- id: american_adventure_off
|
||||
alias: American Adventure Off
|
||||
initial_state: true
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.american_adventure
|
||||
to: 'off'
|
||||
action:
|
||||
- service: script.turn_on
|
||||
entity_id: script.kill_this_ride
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.ha_speaker
|
||||
|
||||
- id: springs_christmas_on
|
||||
alias: Disney Springs XMas On
|
||||
initial_state: true
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.disney_springs_xmas
|
||||
to: 'on'
|
||||
action:
|
||||
- service: script.turn_on
|
||||
entity_id: script.disney_springs_xmas
|
||||
- id: springs_christmas_off
|
||||
alias: Disney Springs XMas Off
|
||||
initial_state: true
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.disney_springs_xmas
|
||||
to: 'off'
|
||||
action:
|
||||
- service: script.turn_on
|
||||
entity_id: script.kill_this_ride
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.ha_speaker
|
||||
|
||||
- id: move_dance_on
|
||||
alias: Move It Shake It On
|
||||
initial_state: true
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.move_shake_dance
|
||||
to: 'on'
|
||||
action:
|
||||
- service: script.turn_on
|
||||
entity_id: script.move_it_shake_it
|
||||
- id: move_dance_off
|
||||
alias: Move It Shake It Off
|
||||
initial_state: true
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.move_shake_dance
|
||||
to: 'off'
|
||||
action:
|
||||
- service: script.turn_on
|
||||
entity_id: script.kill_this_ride
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.ha_speaker
|
||||
|
||||
|
||||
- id: kill_show
|
||||
alias: Kill Show
|
||||
trigger:
|
||||
|
@ -259,6 +361,12 @@ automation:
|
|||
- script.tiki_room_audio
|
||||
- script.mk_loop
|
||||
- script.spaceship_earth_ride
|
||||
- script.welcome_show_audio
|
||||
- script.move_it_shake_it
|
||||
- script.holiday_wishes_start
|
||||
- script.holiday_wishes
|
||||
- script.american_adventure
|
||||
- script.disney_springs_xmas
|
||||
from: 'on'
|
||||
to: 'off'
|
||||
action:
|
||||
|
@ -345,33 +453,41 @@ script:
|
|||
- condition: state
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
- service: input_boolean.turn_on
|
||||
entity_id: input_boolean.show_time
|
||||
#- service: shell_command.haunted_mansion_preshow_full
|
||||
- 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: .4
|
||||
- service: media_player.play_media
|
||||
entity_id: media_player.ha_speaker
|
||||
- service: shell_command.normal_vol
|
||||
- service: shell_command.haunted_mansion_preshow_full
|
||||
- service: light.turn_on
|
||||
entity_id: group.rgb_lr
|
||||
data:
|
||||
#media_content_id: /media/audio/haunted_mansion_preshow_full.mp3
|
||||
media_content_id: http://192.168.7.40/audio/haunted_mansion_preshow_short.mp3
|
||||
media_content_type: "music"
|
||||
- data:
|
||||
entity_id: script.haunted_preshow
|
||||
service: script.turn_on
|
||||
- data:
|
||||
entity_id: script.haunted_lights_out
|
||||
service: script.turn_on
|
||||
- data:
|
||||
entity_id: script.haunted_lights_on
|
||||
service: script.turn_on
|
||||
- data:
|
||||
entity_id: script.house_lights_on
|
||||
service: script.turn_on
|
||||
rgb_color: [255,255,255]
|
||||
- delay: 00:01:06
|
||||
- service: light.turn_on
|
||||
entity_id: group.rgb_lr
|
||||
data:
|
||||
rgb_color: [73,119,255]
|
||||
- delay: 00:00:15
|
||||
- service: light.turn_on
|
||||
entity_id: group.rgb_lr
|
||||
data:
|
||||
brightness_pct: 25
|
||||
- delay: 00:00:37
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.rail_lights
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.rail_lights
|
||||
- delay: 00:00:02
|
||||
- service: scene.turn_on
|
||||
data:
|
||||
entity_id: scene.haunted_lights_out
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.rail_lights
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.rail_lights
|
||||
- delay: 00:00:10
|
||||
- service: light.turn_on
|
||||
entity_id: group.rgb_lr
|
||||
data:
|
||||
rgb_color: [255,255,255]
|
||||
brightness_pct: 25
|
||||
kill_haunted_mansion:
|
||||
sequence:
|
||||
- service: shell_command.alarm_off
|
||||
|
@ -449,6 +565,21 @@ script:
|
|||
entity_id: script.illuminations_triple_light
|
||||
- service: script.turn_off
|
||||
entity_id: script.illuminations_show
|
||||
- service: script.turn_off
|
||||
entity_id: script.haunted_mansion_start
|
||||
- service: script.turn_off
|
||||
entity_id: script.welcome_show_audio
|
||||
- service: script.turn_off
|
||||
entity_id: script.move_it_shake_it
|
||||
- service: script.turn_off
|
||||
entity_id: script.holiday_wishes_start
|
||||
- service: script.turn_off
|
||||
entity_id: script.holiday_wishes
|
||||
- service: script.turn_off
|
||||
entity_id: script.american_adventure
|
||||
- service: script.turn_off
|
||||
entity_id: script.disney_springs_xmas
|
||||
- service: shell_command.normal_vol
|
||||
move_it_shake_it:
|
||||
sequence:
|
||||
- condition: state
|
||||
|
@ -457,18 +588,36 @@ script:
|
|||
- condition: state
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
#- service: shell_command.dance_it
|
||||
- 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/move_it_shake_dance_audio.mp3
|
||||
media_content_type: "music"
|
||||
- service: shell_command.dance_it
|
||||
# - 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/move_it_shake_dance_audio.mp3
|
||||
# media_content_type: "music"
|
||||
american_adventure:
|
||||
sequence:
|
||||
- condition: state
|
||||
entity_id: input_boolean.audible_notifications
|
||||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
- service: shell_command.american_adventure
|
||||
disney_springs_xmas:
|
||||
sequence:
|
||||
- condition: state
|
||||
entity_id: input_boolean.audible_notifications
|
||||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
- service: shell_command.disney_springs_xmas
|
||||
spaceship_earth_ride:
|
||||
sequence:
|
||||
- condition: state
|
||||
|
@ -477,18 +626,18 @@ script:
|
|||
- condition: state
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
#- service: shell_command.spaceship_earth_ride
|
||||
- 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/spaceship_earth_ride.mp3
|
||||
media_content_type: "music"
|
||||
- service: shell_command.spaceship_earth_ride
|
||||
# - 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/spaceship_earth_ride.mp3
|
||||
# media_content_type: "music"
|
||||
welcome_to_magic_kingdom:
|
||||
sequence:
|
||||
- condition: state
|
||||
|
@ -533,28 +682,30 @@ script:
|
|||
- condition: state
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
#- service: shell_command.welcome_show_crowd
|
||||
- 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/welcome_show_crowd.mp3
|
||||
media_content_type: "music"
|
||||
holiday_wishes_start:
|
||||
- service: shell_command.welcome_show
|
||||
# - 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/welcome_show_crowd.mp3
|
||||
# media_content_type: "music"
|
||||
holiday_wishes_preshow:
|
||||
sequence:
|
||||
- condition: state
|
||||
entity_id: input_boolean.audible_notifications
|
||||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: 'on'
|
||||
- service: shell_command.wishes_preshow
|
||||
- service: script.holiday_wishes
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
- service: shell_command.holiday_wishes_preshow
|
||||
- delay: '00:04:00'
|
||||
- service: input_boolean.turn_on
|
||||
entity_id: input_boolean.holiday_wishes
|
||||
holiday_wishes:
|
||||
sequence:
|
||||
- condition: state
|
||||
|
@ -563,14 +714,14 @@ script:
|
|||
- condition: state
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
#- service: shell_command.holiday_wishes
|
||||
- service: media_player.turn_on
|
||||
entity_id: media_player.ha_speaker
|
||||
- service: media_player.play_media
|
||||
entity_id: media_player.ha_speaker
|
||||
data:
|
||||
media_content_id: http://192.168.7.40/audio/wishes_5_min.mp3
|
||||
media_content_type: "music"
|
||||
- service: shell_command.holiday_wishes
|
||||
# - service: media_player.turn_on
|
||||
# entity_id: media_player.ha_speaker
|
||||
# - service: media_player.play_media
|
||||
# entity_id: media_player.ha_speaker
|
||||
# data:
|
||||
# media_content_id: http://192.168.7.40/audio/wishes_5_min.mp3
|
||||
# media_content_type: "music"
|
||||
boo_to_you_show:
|
||||
sequence:
|
||||
- condition: state
|
||||
|
@ -579,14 +730,14 @@ script:
|
|||
- condition: state
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
#- service: shell_command.boo_to_you
|
||||
- service: media_player.turn_on
|
||||
entity_id: media_player.ha_speaker
|
||||
- service: media_player.play_media
|
||||
entity_id: media_player.ha_speaker
|
||||
data:
|
||||
media_content_id: http://192.168.7.40/audio/boo_to_you_audio.mp3
|
||||
media_content_type: "music"
|
||||
- service: shell_command.boo_to_you
|
||||
# - service: media_player.turn_on
|
||||
# entity_id: media_player.ha_speaker
|
||||
# - service: media_player.play_media
|
||||
# entity_id: media_player.ha_speaker
|
||||
# data:
|
||||
# media_content_id: http://192.168.7.40/audio/boo_to_you_audio.mp3
|
||||
# media_content_type: "music"
|
||||
happy_ever_after_show:
|
||||
sequence:
|
||||
- condition: state
|
||||
|
@ -595,14 +746,14 @@ script:
|
|||
- condition: state
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
#- service: shell_command.happily_ever_after
|
||||
- service: media_player.turn_on
|
||||
entity_id: media_player.ha_speaker
|
||||
- service: media_player.play_media
|
||||
entity_id: media_player.ha_speaker
|
||||
data:
|
||||
media_content_id: http://192.168.7.40/audio/Happily_Ever_After_Audio.mp3
|
||||
media_content_type: "music"
|
||||
- service: shell_command.happily_ever_after
|
||||
# - service: media_player.turn_on
|
||||
# entity_id: media_player.hass_speaker
|
||||
# - service: media_player.play_media
|
||||
# entity_id: media_player.hass_speaker
|
||||
# data:
|
||||
# media_content_id: http://192.168.7.40/audio/Happily_Ever_After_Audio.mp3
|
||||
# media_content_type: "music"
|
||||
# boo_to_you:
|
||||
# sequence:
|
||||
# - condition: state
|
||||
|
@ -627,20 +778,21 @@ script:
|
|||
- condition: state
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
#- service: shell_command.tiki_room_audio
|
||||
- service: media_player.turn_on
|
||||
entity_id: media_player.ha_speaker
|
||||
- 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/tiki_room_audio.mp3
|
||||
media_content_type: "music"
|
||||
- service: shell_command.tiki_vol
|
||||
- service: shell_command.tiki_room_audio
|
||||
# - service: media_player.turn_on
|
||||
# entity_id: media_player.ha_speaker
|
||||
# - 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/tiki_room_audio.mp3
|
||||
# media_content_type: "music"
|
||||
# happy_ever_after:
|
||||
# sequence:
|
||||
# - condition: state
|
||||
|
@ -704,18 +856,18 @@ script:
|
|||
- condition: state
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
#- service: shell_command.illuminations_audio
|
||||
- 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/illuminations.mp3
|
||||
media_content_type: "music"
|
||||
- service: shell_command.illuminations_audio
|
||||
# - 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/illuminations.mp3
|
||||
# media_content_type: "music"
|
||||
- service: script.turn_on
|
||||
entity_id: script.illuminations_preshow
|
||||
- service: script.turn_on
|
||||
|
|
Loading…
Reference in New Issue