Jeffrey Stone e02d084c92 Updated to V5 Version - Hassio Style
Lots of updates here.

Updated my Readme - Added Affiliate Links, added some more information, better organized devices
Updated gitignore with paths realtive to my hassio config
Combined my switches and lights into single yaml files instead of the directory structure previously
Added zigbee2mqtt.yaml to packages - contains automations and such for zigbee2mqtt

Archived my previous version in the V4-config branch.
2019-11-08 12:54:11 -05:00

1009 lines
29 KiB
YAML
Executable File

###############################################################################
# @author : Jeffrey Stone
# @date : 03/13/2019
# @package : Security
# @description : Everything related to Disney in Anchorage House.
###############################################################################
input_boolean:
happy_ever_after_show:
name: Happy Ever After Show
# haunted_mansion:
# name: Haunted Mansion
boo_to_you_show:
name: Boo To You
holiday_wishes:
name: Holiday Wishes
spaceship_earth_ride:
name: Spaceship Earth
boo_to_you:
name: Boo To You
happy_ever_after:
name: Happy Ever After
mk_loop:
name: MK Loop
tiki_room_audio:
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
sleepy_hollow_audiobook:
name: Sleepy Hollow ReadAlong
automation:
- id: mk_loop_on
alias: MK Loop On
initial_state: true
trigger:
- platform: state
entity_id: input_boolean.mk_loop
to: 'on'
action:
- service: script.turn_on
entity_id: script.mk_loop
- id: tiki_room_on
alias: Tiki Room On
initial_state: true
trigger:
- platform: state
entity_id: input_boolean.tiki_room_audio
to: 'on'
action:
- service: script.turn_on
entity_id: script.tiki_room_audio
- id: tiki_room_off
alias: Tiki Room Off
initial_state: true
trigger:
- platform: state
entity_id: input_boolean.tiki_room_audio
to: 'off'
action:
- service: media_player.media_stop
entity_id: media_player.theater
- service: script.turn_on
entity_id: script.kill_this_ride
- id: illuminations_on
alias: Illuminations On
initial_state: true
trigger:
- platform: state
entity_id: input_boolean.illuminations
to: 'on'
action:
- service: script.turn_on
entity_id: script.illuminations_audio
- id: illuminations_off
alias: Illuminations Off
initial_state: true
trigger:
- platform: state
entity_id: input_boolean.illuminations
to: 'off'
action:
- service: script.turn_off
entity_id: script.illuminations_audio
- service: script.turn_on
entity_id: script.kill_this_ride
- id: mk_loop_off
alias: MK Loop Off
initial_state: true
trigger:
- platform: state
entity_id: input_boolean.mk_loop
to: 'off'
action:
- service: script.turn_on
entity_id: script.kill_this_ride
- id: happy_ever_after_show_on
alias: Happy Ever After Show On
initial_state: true
trigger:
- platform: state
entity_id: input_boolean.happy_ever_after_show
to: 'on'
action:
- service: script.turn_on
entity_id: script.happy_ever_after_show
- id: happy_ever_after_show_off
alias: Happy Ever After Show Off
initial_state: true
trigger:
- platform: state
entity_id: input_boolean.happy_ever_after_show
to: 'off'
action:
- service: script.turn_on
entity_id: script.kill_this_ride
- service: media_player.media_stop
entity_id: media_player.theater
- id: happy_ever_after_on
alias: Happy Ever After On
initial_state: true
trigger:
- platform: state
entity_id: input_boolean.happy_ever_after
to: 'on'
action:
- service: script.turn_on
entity_id: script.happy_ever_after
- id: happy_ever_after_off
alias: Happy Ever After Off
initial_state: true
trigger:
- platform: state
entity_id: input_boolean.happy_ever_after
to: 'off'
action:
- service: script.turn_on
entity_id: script.kill_this_ride
- service: media_player.media_stop
entity_id: media_player.theater
# #######################################
# # Turn on / off Haunted Mansion show
# - id: haunted_mansion_on
# alias: Haunted Mansion On
# initial_state: true
# trigger:
# - platform: state
# entity_id: input_boolean.haunted_mansion
# to: 'on'
# action:
# - service: script.turn_on
# entity_id: script.haunted_mansion_start
# - id: haunted_mansion_off
# alias: Haunted Mansion Off
# initial_state: true
# trigger:
# - platform: state
# entity_id: input_boolean.haunted_mansion
# to: 'off'
# action:
# - service: script.kill_this_ride
# - service: media_player.media_stop
# entity_id: media_player.theater
# #######################################
- id: spaceship_earth_on
alias: Spaceship Earth On
initial_state: true
trigger:
- platform: state
entity_id: input_boolean.spaceship_earth_ride
to: 'on'
action:
- service: script.turn_on
entity_id: script.spaceship_earth_ride
- id: spaceship_earth_off
alias: Spaceship Earth Off
initial_state: true
trigger:
- platform: state
entity_id: input_boolean.spaceship_earth_ride
to: 'off'
action:
- service: script.turn_on
entity_id: script.kill_this_ride
- service: media_player.media_stop
entity_id: media_player.theater
- id: boo_to_you_show_on
alias: Boo To You Show On
initial_state: true
trigger:
- platform: state
entity_id: input_boolean.boo_to_you_show
to: 'on'
action:
- service: script.turn_on
entity_id: script.boo_to_you_show
- id: boo_to_you_show_off
alias: Boo To You Show Off
initial_state: true
trigger:
- platform: state
entity_id: input_boolean.boo_to_you_show
to: 'off'
action:
- service: script.turn_on
entity_id: script.kill_this_ride
- service: media_player.media_stop
entity_id: media_player.theater
- id: boo_to_you_on
alias: Boo To You On
initial_state: true
trigger:
- platform: state
entity_id: input_boolean.boo_to_you
to: 'on'
action:
- service: script.turn_on
entity_id: script.boo_to_you
- id: boo_to_you_off
alias: Boo To You Off
initial_state: true
trigger:
- platform: state
entity_id: input_boolean.boo_to_you
to: 'off'
action:
- service: script.turn_on
entity_id: script.kill_this_ride
- service: media_player.media_stop
entity_id: media_player.theater
- id: holiday_wishes_on
alias: Holiday Wishes On
initial_state: true
trigger:
- platform: state
entity_id: input_boolean.holiday_wishes
to: 'on'
action:
- service: script.turn_on
entity_id: script.holiday_wishes
- id: holiday_wishes_off
alias: Holiday Wishes Off
initial_state: true
trigger:
- platform: state
entity_id: input_boolean.holiday_wishes
to: 'off'
action:
- service: script.turn_on
entity_id: script.kill_this_ride
- service: media_player.media_stop
entity_id: media_player.theater
- 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.theater
- 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.theater
- 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.theater
- id: sleepy_hollow_readalong_on
alias: Sleepy Hollow Readalong On
initial_state: true
trigger:
- platform: state
entity_id: input_boolean.sleepy_hollow_audiobook
to: 'on'
action:
- service: script.turn_on
entity_id: script.sleepy_hollow_readalong
- id: sleepy_hollow_readalong_off
alias: Sleepy Hollow Readalong Off
initial_state: true
trigger:
- platform: state
entity_id: input_boolean.sleepy_hollow_audiobook
to: 'off'
action:
- service: script.turn_on
entity_id: script.kill_this_ride
- service: media_player.media_stop
entity_id: media_player.theater
- 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.theater
- id: kill_show
alias: Kill Show
trigger:
- platform: state
entity_id:
- script.haunted_mansion_show_sequence
- script.haunted_mansion_start
- script.illuminations_show
- script.boo_to_you_show
- script.happy_ever_after_show
- 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
- script.this_is_halloween
- script.sleepy_hollow_readalong
from: 'on'
to: 'off'
action:
- service: media_player.media_stop
entity_id: media_player.theater
- service: scene.turn_on
entity_id: scene.normal_livingroom_lighting
- service: script.reset_show_inputs
initial_state: true
- id: house_lights_up
alias: House Lights Up
trigger:
- platform: state
entity_id:
- binary_sensor.vlc_player
from: 'on'
to: 'off'
action:
- service: script.kill_this_ride
initial_state: true
script:
kill_hurry_back:
sequence:
- service: shell_command.alarm_off
hurry_back_short:
sequence:
- condition: state
entity_id: input_boolean.audible_notifications
state: 'on'
- condition: state
entity_id: sensor.family_status
state: Home
- service: shell_command.haunted_mansion_hurry_back_short
hurry_back_full:
sequence:
- condition: state
entity_id: input_boolean.audible_notifications
state: 'on'
- condition: state
entity_id: sensor.family_status
state: Home
- service: shell_command.haunted_mansion_hurry_back_full
haunted_lights_on:
sequence:
- delay: 00:02:25
- service: scene.turn_on
data:
entity_id: scene.haunted_preshow
# house_lights_on:
# sequence:
# - delay: 00:04:20
# - service: scene.turn_on
# data:
# entity_id: scene.normal_livingroom_lighting
haunted_lights_out:
sequence:
- delay: 00:02:15
- service: scene.turn_on
data:
entity_id: scene.haunted_lights_out
haunted_preshow:
sequence:
- delay: 00:01:15
- service: scene.turn_on
data:
entity_id: scene.haunted_preshow
# ##############################################
# # Haunted Mansion Show
# haunted_mansion_start:
# sequence:
# - condition: state
# entity_id: input_boolean.audible_notifications
# state: 'on'
# - condition: state
# entity_id: sensor.family_status
# state: Home
# - service: shell_command.normal_vol
# - service: shell_command.haunted_mansion_preshow_full
# - service: light.turn_on
# entity_id: group.rgb_lr
# data:
# 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
# - delay:
# seconds: 160
# ###############################################
kill_haunted_mansion:
sequence:
- service: shell_command.alarm_off
- service: script.turn_off
data:
entity_id: script.haunted_preshow
- service: script.turn_off
data:
entity_id: script.haunted_lights_out
- service: script.turn_off
data:
entity_id: script.haunted_lights_on
- service: scene.turn_on
data:
entity_id: scene.normal_livingroom_lighting
haunted_ride:
sequence:
- condition: state
entity_id: input_boolean.audible_notifications
state: 'on'
- condition: state
entity_id: sensor.family_status
state: Home
- service: shell_command.haunted_mansion_ride
mk_loop:
sequence:
- condition: state
entity_id: input_boolean.audible_notifications
state: 'on'
- condition: state
entity_id: sensor.family_status
state: Home
- service: shell_command.mk_audio
kill_this_ride:
sequence:
- service: media_player.media_stop
entity_id: media_player.theater
- service: shell_command.alarm_off
- service: shell_command.vlc_off
- service: script.turn_off
data:
entity_id: script.haunted_preshow
- service: script.turn_off
data:
entity_id: script.haunted_lights_out
- service: script.turn_off
data:
entity_id: script.haunted_lights_on
- service: script.turn_off
data:
entity_id: script.illuminations_preshow
- service: script.turn_off
data:
entity_id: script.illuminations_lights_out
- service: scene.turn_on
data:
entity_id: scene.normal_livingroom_lighting
- service: input_boolean.turn_off
entity_id: input_boolean.illuminations
- service: script.chromecast_media_stop
- service: script.turn_off
data:
entity_id: script.holiday_wishes
- service: script.turn_off
data:
entity_id: script.holiday_wishes_start
- service: script.turn_off
entity_id: script.illuminations_preshow
- service: script.turn_off
entity_id: script.illuminations_lights_out
- service: script.turn_off
entity_id: script.illuminations_single_light
- service: script.turn_off
entity_id: script.illuminations_dual_light
- service: script.turn_off
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: script.turn_off
entity_id: script.this_is_halloween
- service: script.turn_off
entity_id: script.sleepy_hollow_readalong
- service: shell_command.normal_vol
- service: switch.turn_off
entity_id: switch.ha_speaker
- service: script.reset_show_inputs
reset_show_inputs:
sequence:
- service: input_boolean.turn_off
entity_id: input_boolean.happy_ever_after_show
- service: input_boolean.turn_off
entity_id: input_boolean.haunted_mansion
- service: input_boolean.turn_off
entity_id: input_boolean.boo_to_you_show
- service: input_boolean.turn_off
entity_id: input_boolean.holiday_wishes
- service: input_boolean.turn_off
entity_id: input_boolean.spaceship_earth_ride
- service: input_boolean.turn_off
entity_id: input_boolean.boo_to_you
- service: input_boolean.turn_off
entity_id: input_boolean.happy_ever_after
- service: input_boolean.turn_off
entity_id: input_boolean.mk_loop
- service: input_boolean.turn_off
entity_id: input_boolean.tiki_room_audio
- service: input_boolean.turn_off
entity_id: input_boolean.illuminations
- service: input_boolean.turn_off
entity_id: input_boolean.move_shake_dance
- service: input_boolean.turn_off
entity_id: input_boolean.welcome_show
- service: input_boolean.turn_off
entity_id: input_boolean.american_adventure
- service: input_boolean.turn_off
entity_id: input_boolean.disney_springs_xmas
- service: input_boolean.turn_off
entity_id: input_boolean.sleepy_hollow_audiobook
- service: input_boolean.turn_off
entity_id: input_boolean.this_is_halloween
move_it_shake_it:
sequence:
- condition: state
entity_id: input_boolean.audible_notifications
state: 'on'
- condition: state
entity_id: sensor.family_status
state: Home
# - service: shell_command.dance_it
- service: media_player.turn_on
entity_id: media_player.theater
- service: media_player.volume_set
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/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
# - service: switch.turn_on
# entity_id: switch.ha_speaker
- service: media_player.turn_on
entity_id: media_player.theater
- service: media_player.volume_set
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/Disney_Springs_Xmas_Loop.mp3.mp3
media_content_type: "music"
sleepy_hollow_readalong:
sequence:
- condition: state
entity_id: input_boolean.audible_notifications
state: 'on'
- condition: state
entity_id: sensor.family_status
state: Home
- service: shell_command.sleepy_hollow_audiobook
spaceship_earth_ride:
sequence:
- condition: state
entity_id: input_boolean.audible_notifications
state: 'on'
- condition: state
entity_id: sensor.family_status
state: Home
# - service: shell_command.spaceship_earth_ride
- service: media_player.turn_on
entity_id: media_player.theater
- service: media_player.volume_set
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/spaceship_earth_ride.mp3
media_content_type: "music"
welcome_to_magic_kingdom:
sequence:
- condition: state
entity_id: input_boolean.audible_notifications
state: 'on'
- condition: state
entity_id: sensor.family_status
state: Home
- service: shell_command.welcome_to_mk
monorail_waiting:
sequence:
- condition: state
entity_id: input_boolean.audible_notifications
state: 'on'
- condition: state
entity_id: sensor.family_status
state: Home
- service: shell_command.monorail_waiting
monorail_mk:
sequence:
- condition: state
entity_id: input_boolean.audible_notifications
state: 'on'
- condition: state
entity_id: sensor.family_status
state: Home
- service: shell_command.monorail_mk
monorail_resort:
sequence:
- condition: state
entity_id: input_boolean.audible_notifications
state: 'on'
- condition: state
entity_id: group.family
state: 'on'
- service: shell_command.monorail_resort
welcome_show_audio:
sequence:
- condition: state
entity_id: input_boolean.audible_notifications
state: 'on'
- condition: state
entity_id: sensor.family_status
state: Home
# - service: shell_command.welcome_show
- service: media_player.turn_on
entity_id: media_player.theater
- service: media_player.volume_set
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/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: 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
entity_id: input_boolean.audible_notifications
state: 'on'
- condition: state
entity_id: sensor.family_status
state: Home
# - service: shell_command.holiday_wishes
- service: media_player.turn_on
entity_id: media_player.theater
- service: media_player.play_media
entity_id: media_player.theater
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
entity_id: input_boolean.audible_notifications
state: 'on'
- condition: state
entity_id: sensor.family_status
state: Home
# - service: shell_command.boo_to_you
- service: media_player.turn_on
entity_id: media_player.theater
- service: media_player.play_media
entity_id: media_player.theater
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
entity_id: input_boolean.audible_notifications
state: 'on'
- condition: state
entity_id: sensor.family_status
state: Home
# - service: shell_command.happily_ever_after
- service: media_player.turn_on
entity_id: media_player.theater
- service: media_player.play_media
entity_id: media_player.theater
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
# entity_id: input_boolean.audible_notifications
# state: 'on'
# - condition: state
# entity_id: sensor.family_status
# state: Home
# #- service: shell_command.boo_to_you
# - service: media_player.turn_on
# entity_id: media_player.theater
# - service: media_player.play_media
# entity_id: media_player.theater
# data:
# media_content_id: http://192.168.7.40/audio/boo_to_you_audio.mp3
# media_content_type: "music"
tiki_room_audio:
sequence:
- condition: state
entity_id: input_boolean.audible_notifications
state: 'on'
- condition: state
entity_id: sensor.family_status
state: Home
# - service: shell_command.tiki_vol
# - service: shell_command.tiki_room_audio
- service: media_player.turn_on
entity_id: media_player.theater
- service: media_player.turn_on
entity_id: media_player.theater
- service: media_player.volume_set
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/tiki_room_audio.mp3
media_content_type: "music"
# happy_ever_after:
# sequence:
# - condition: state
# entity_id: input_boolean.audible_notifications
# state: 'on'
# - condition: state
# entity_id: sensor.family_status
# state: Home
# #- service: shell_command.happily_ever_after
# - service: media_player.turn_on
# entity_id: media_player.theater
# - service: media_player.volume_set
# 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/Happily_Ever_After_Audio.mp3
# media_content_type: "music"
illuminations_lights_out:
sequence:
- delay: 00:00:57
- service: scene.turn_on
data:
entity_id: scene.haunted_lights_out
illuminations_single_light:
sequence:
- delay: 00:01:03
- service: scene.turn_on
data:
entity_id: scene.dimished_livingroom_lighting
illuminations_dual_light:
sequence:
- delay: 00:01:08
- service: scene.turn_on
data:
entity_id: scene.illuminations_livingroom_lighting_two
illuminations_triple_light:
sequence:
- delay: 00:01:11
- service: scene.turn_on
data:
entity_id: scene.illuminations_livingroom_lighting_three
illuminations_show:
sequence:
- delay: 00:01:19
- service: scene.turn_on
data:
entity_id: scene.normal_livingroom_lighting
illuminations_preshow:
sequence:
- service: scene.turn_on
data:
entity_id: scene.normal_livingroom_lighting
illuminations_audio:
sequence:
- condition: state
entity_id: input_boolean.audible_notifications
state: 'on'
- condition: state
entity_id: sensor.family_status
state: Home
# - service: shell_command.illuminations_audio
- service: media_player.turn_on
entity_id: media_player.theater
- service: media_player.volume_set
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/illuminations.mp3
media_content_type: "music"
- service: script.turn_on
entity_id: script.illuminations_preshow
- service: script.turn_on
entity_id: script.illuminations_lights_out
- service: script.turn_on
entity_id: script.illuminations_single_light
- service: script.turn_on
entity_id: script.illuminations_dual_light
- service: script.turn_on
entity_id: script.illuminations_triple_light
- service: script.turn_on
entity_id: script.illuminations_show
this_is_halloween:
sequence:
- condition: state
entity_id: input_boolean.audible_notifications
state: 'on'
- condition: state
entity_id: sensor.family_status
state: Home
# - service: shell_command.this_is_halloween
# - service: switch.turn_on
# entity_id: switch.ha_speaker
- service: media_player.turn_on
entity_id: media_player.theater
- service: media_player.volume_set
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/This_is_Halloween.mp3
media_content_type: "music"