Moew disney audio automations
This commit is contained in:
parent
e2ef6b1486
commit
986893a687
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue