2022-08-18 14:45:03 +00:00
|
|
|
script:
|
|
|
|
netflix_and_chill:
|
|
|
|
sequence:
|
|
|
|
- choose:
|
|
|
|
- conditions:
|
|
|
|
- condition: device
|
|
|
|
type: is_off
|
2024-04-24 19:58:21 +00:00
|
|
|
device_id: ff2addb4c1638a2277c0198d9ec18844
|
|
|
|
entity_id: switch.livingroom_tv_socket_switch
|
|
|
|
domain: switch
|
2022-08-18 14:45:03 +00:00
|
|
|
sequence:
|
|
|
|
- service: script.turn_on
|
|
|
|
target:
|
|
|
|
entity_id: script.tv_turn_on
|
|
|
|
- service: script.turn_on
|
|
|
|
target:
|
|
|
|
entity_id: script.denon_watch_firetv
|
|
|
|
default:
|
|
|
|
- service: script.turn_on
|
|
|
|
target:
|
|
|
|
entity_id: script.denon_watch_firetv
|
|
|
|
mode: single
|
|
|
|
|
|
|
|
denon_watch_firetv:
|
|
|
|
sequence:
|
|
|
|
- service: remote.send_command
|
|
|
|
target:
|
|
|
|
device_id: 13079d62ad53d8991b26238c5594adca
|
|
|
|
data:
|
|
|
|
device: "78200006"
|
|
|
|
command: InputHdmi2
|
|
|
|
- service: media_player.turn_on
|
|
|
|
target:
|
|
|
|
device_id: 5ec213f0aedf10ff7fdff1d05ae6ead6
|
|
|
|
- service: media_player.select_source
|
|
|
|
data:
|
|
|
|
source: Fire TV Stick
|
|
|
|
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.35
|
2022-08-18 14:45:03 +00:00
|
|
|
target:
|
2022-11-20 15:11:00 +00:00
|
|
|
entity_id: media_player.denon_avr_x1600h
|