hansen-hasst/packages/harmony/harmony.yaml
2022-08-18 16:45:03 +02:00

56 lines
1.5 KiB
YAML
Executable File

script:
denon_listen_music:
sequence:
- service: media_player.turn_on
target:
device_id: 5ec213f0aedf10ff7fdff1d05ae6ead6
- service: media_player.select_source
data:
source: HEOS Music
target:
entity_id: media_player.denon_avr_x1600h
- service: media_player.volume_set
data:
volume_level: 0.3
target:
device_id: 5ec213f0aedf10ff7fdff1d05ae6ead6
- 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
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