2022-08-18 14:45:03 +00:00
|
|
|
script:
|
|
|
|
netflix_and_chill:
|
|
|
|
sequence:
|
|
|
|
- choose:
|
|
|
|
- conditions:
|
|
|
|
- condition: device
|
|
|
|
type: is_off
|
|
|
|
device_id: 53acbc86deb1bb16ca4c0889a78be5d2
|
|
|
|
entity_id: light.livingroom_switch_tv
|
|
|
|
domain: light
|
|
|
|
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:
|
|
|
|
volume_level: 0.5
|
|
|
|
target:
|
2022-11-20 15:11:00 +00:00
|
|
|
entity_id: media_player.denon_avr_x1600h
|