fix: change tv socket in automations

This commit is contained in:
Philipp Hansen
2024-06-09 17:11:17 +02:00
parent 5b6ae1e872
commit 52ddc29412
2 changed files with 47 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
script:
# Turn on Denon
denon_listen_music:
sequence:
- service: media_player.turn_on
@@ -25,6 +26,7 @@ script:
device: "75263914"
command: Play
# Turn on Switch plus Music
denon_play_switch:
sequence:
- service: script.turn_on
@@ -47,6 +49,7 @@ script:
device: "78200006"
command: InputHdmi1
# Turn on Steam Link
denon_play_steam:
sequence:
- service: script.turn_on
@@ -71,15 +74,16 @@ script:
- service: media_player.volume_set
data:
volume_level: 0.45
#Turn off TV and Denon
denon_tv_turn_off:
sequence:
- service: media_player.turn_off
target:
device_id: 5ec213f0aedf10ff7fdff1d05ae6ead6
- service: light.turn_off
- service: switch.turn_off
target:
entity_id: light.livingroom_switch_tv
entity_id: switch.livingroom_tv_socket_switch