From 56ba547ee9ba7699d8328f97ccbad5e7e2ab2d54 Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Sun, 13 Oct 2019 16:03:30 -0400 Subject: [PATCH] Added Sleepy Hollow Read-A-Long to list of entertainment --- packages/disney.yaml | 170 ++++++++++++++++++++++++++++++------------- 1 file changed, 119 insertions(+), 51 deletions(-) diff --git a/packages/disney.yaml b/packages/disney.yaml index 52c2720..44a2801 100755 --- a/packages/disney.yaml +++ b/packages/disney.yaml @@ -34,6 +34,8 @@ input_boolean: name: American Adventure disney_springs_xmas: name: Disney Springs XMas + sleepy_hollow_audiobook: + name: Sleepy Hollow ReadAlong automation: - id: mk_loop_on @@ -325,6 +327,29 @@ automation: - service: media_player.media_stop entity_id: media_player.ha_speaker + - 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.ha_speaker + - id: move_dance_on alias: Move It Shake It On initial_state: true @@ -369,6 +394,7 @@ automation: - script.american_adventure - script.disney_springs_xmas - script.this_is_halloween + - script.sleepy_hollow_readalong from: 'on' to: 'off' action: @@ -376,29 +402,20 @@ automation: entity_id: media_player.ha_speaker - 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: - # - 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 - # from: 'on' - # to: 'off' - # action: - # - service: media_player.media_stop - # entity_id: media_player.ha_speaker - # - service: scene.turn_on - # entity_id: scene.normal_livingroom_lighting - # 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: @@ -584,7 +601,49 @@ script: 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 @@ -622,21 +681,30 @@ script: - 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" + - 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 @@ -908,18 +976,18 @@ script: - 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" \ No newline at end of file + - 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" \ No newline at end of file