diff --git a/config/packages/disney.yaml b/config/packages/disney.yaml index b529b39..c380a7a 100755 --- a/config/packages/disney.yaml +++ b/config/packages/disney.yaml @@ -146,6 +146,84 @@ automation: - service: script.turn_off entity_id: script.youtube_audio +# Frontier Audio + - id: frontier_loop_on + alias: Frontier Loop On + initial_state: true + trigger: + - platform: state + entity_id: input_boolean.mk_frontierland_loop + to: 'on' + action: + - service: script.youtube_audio + data_template: + media: "http://192.168.7.40/frontierland_loop.mp3" + volume: .4 + - id: frontier_loop_off + alias: Frontier Loop Off + initial_state: true + trigger: + - platform: state + entity_id: input_boolean.mk_frontierland_loop + to: 'off' + action: + - service: media_player.media_stop + entity_id: media_player.ha_speaker + - service: script.turn_off + entity_id: script.youtube_audio + +# Adventure Audio + - id: adventureland_loop_on + alias: Adventure Land Loop On + initial_state: true + trigger: + - platform: state + entity_id: input_boolean.mk_adventureland_loop + to: 'on' + action: + - service: script.youtube_audio + data_template: + media: "http://192.168.7.40/adventureland_loop.mp3" + volume: .4 + - id: adventure_loop_off + alias: Adventure Loop Off + initial_state: true + trigger: + - platform: state + entity_id: input_boolean.mk_adventureland_loop + to: 'off' + action: + - service: media_player.media_stop + entity_id: media_player.ha_speaker + - service: script.turn_off + entity_id: script.youtube_audio + +# Epcot Entrance Audio + - id: epcotentrance_loop_on + alias: Epcot Entrance Loop On + initial_state: true + trigger: + - platform: state + entity_id: input_boolean.epcot_entrance_loop + to: 'on' + action: + - service: script.youtube_audio + data_template: + media: "http://192.168.7.40/epcot_entrance_loop.mp3" + volume: .4 + - id: epcotentrance_loop_off + alias: Epcot Entrance Loop Off + initial_state: true + trigger: + - platform: state + entity_id: input_boolean.epcot_entrance_loop + to: 'off' + action: + - service: media_player.media_stop + entity_id: media_player.ha_speaker + - service: script.turn_off + entity_id: script.youtube_audio + # Pixar Pier Audio - id: pixar_pier_loop_on @@ -254,7 +332,7 @@ automation: # Holiday Wishes - id: holiday_wishes_show_on - alias: Hp;iday Wishes Show On + alias: Holiday Wishes Show On initial_state: true trigger: - platform: state