2022-08-18 14:45:03 +00:00
|
|
|
script:
|
|
|
|
denon_listen_music:
|
|
|
|
sequence:
|
|
|
|
- service: media_player.turn_on
|
|
|
|
target:
|
2022-11-20 15:11:00 +00:00
|
|
|
device_id: 5ec213f0aedf10ff7fdff1d05ae6ead6
|
|
|
|
- delay:
|
|
|
|
seconds: 30
|
2022-08-18 14:45:03 +00:00
|
|
|
- service: media_player.select_source
|
|
|
|
data:
|
|
|
|
source: HEOS Music
|
|
|
|
target:
|
|
|
|
entity_id: media_player.denon_avr_x1600h
|
2022-11-20 15:11:00 +00:00
|
|
|
- delay:
|
|
|
|
seconds: 2
|
2022-08-18 14:45:03 +00:00
|
|
|
- service: media_player.volume_set
|
|
|
|
data:
|
|
|
|
volume_level: 0.3
|
|
|
|
target:
|
2022-11-20 15:11:00 +00:00
|
|
|
entity_id: media_player.denon_avr_x1600h
|
2022-08-18 14:45:03 +00:00
|
|
|
- service: remote.send_command
|
|
|
|
target:
|
|
|
|
device_id: 13079d62ad53d8991b26238c5594adca
|
|
|
|
data:
|
|
|
|
device: "75263914"
|
|
|
|
command: Play
|
|
|
|
|
|
|
|
denon_play_switch:
|
|
|
|
sequence:
|
|
|
|
- service: script.turn_on
|
|
|
|
target:
|
|
|
|
entity_id: script.tv_turn_on
|
|
|
|
- service: media_player.turn_on
|
|
|
|
target:
|
|
|
|
device_id: 5ec213f0aedf10ff7fdff1d05ae6ead6
|
|
|
|
- delay:
|
|
|
|
seconds: 5
|
|
|
|
- service: media_player.select_source
|
|
|
|
data:
|
|
|
|
source: HEOS Music
|
|
|
|
target:
|
|
|
|
entity_id: media_player.denon_avr_x1600h
|
|
|
|
- service: remote.send_command
|
|
|
|
target:
|
|
|
|
device_id: 13079d62ad53d8991b26238c5594adca
|
|
|
|
data:
|
|
|
|
device: "78200006"
|
|
|
|
command: InputHdmi1
|
2022-11-20 15:11:00 +00:00
|
|
|
|
|
|
|
denon_play_steam:
|
|
|
|
sequence:
|
|
|
|
- service: script.turn_on
|
|
|
|
target:
|
|
|
|
entity_id: script.tv_turn_on
|
|
|
|
- service: remote.send_command
|
|
|
|
target:
|
|
|
|
device_id: media_player.denon_avr_x1600h
|
|
|
|
data:
|
|
|
|
device: "78200006"
|
|
|
|
command: InputHdmi2
|
|
|
|
- service: media_player.turn_on
|
|
|
|
target:
|
|
|
|
device_id: 5ec213f0aedf10ff7fdff1d05ae6ead6
|
|
|
|
- delay:
|
|
|
|
seconds: 5
|
|
|
|
- service: media_player.select_source
|
|
|
|
data:
|
|
|
|
source: Steam Link
|
|
|
|
target:
|
|
|
|
entity_id: media_player.denon_avr_x1600h
|
|
|
|
- service: media_player.volume_set
|
|
|
|
data:
|
|
|
|
volume_level: 0.45
|
|
|
|
|
2022-08-18 14:45:03 +00:00
|
|
|
denon_tv_turn_off:
|
|
|
|
sequence:
|
|
|
|
- service: media_player.turn_off
|
|
|
|
target:
|
|
|
|
device_id: 5ec213f0aedf10ff7fdff1d05ae6ead6
|
|
|
|
- service: light.turn_off
|
|
|
|
target:
|
|
|
|
entity_id: light.livingroom_switch_tv
|
|
|
|
|
|
|
|
|
|
|
|
|