hansen-hasst/packages/harmony/harmony.yaml

89 lines
2.3 KiB
YAML
Raw Normal View History

2022-08-18 14:45:03 +00:00
script:
2024-06-09 15:11:17 +00:00
# Turn on Denon
2022-08-18 14:45:03 +00:00
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:
2024-04-24 19:58:21 +00:00
volume_level: 0.25
2022-08-18 14:45:03 +00:00
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
2024-06-09 15:11:17 +00:00
# Turn on Switch plus Music
2022-08-18 14:45:03 +00:00
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
2024-06-09 15:11:17 +00:00
# Turn on Steam Link
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
2024-06-09 15:11:17 +00:00
#Turn off TV and Denon
2022-08-18 14:45:03 +00:00
denon_tv_turn_off:
sequence:
- service: media_player.turn_off
target:
device_id: 5ec213f0aedf10ff7fdff1d05ae6ead6
2024-06-09 15:11:17 +00:00
- service: switch.turn_off
2022-08-18 14:45:03 +00:00
target:
2024-06-09 15:11:17 +00:00
entity_id: switch.livingroom_tv_socket_switch
2022-08-18 14:45:03 +00:00