fix: change tv socket in automations
This commit is contained in:
parent
5b6ae1e872
commit
52ddc29412
@ -34,7 +34,7 @@ automation:
|
||||
message: ist noch offen!
|
||||
title: Freezer
|
||||
|
||||
# Badezimmer oder Gartentüre offen
|
||||
# Wohnungstür check Badezimmer oder Gartentüre offen
|
||||
- alias: open_doors_check
|
||||
trigger:
|
||||
- device_id: 95d34c3939ded141bc463c7dbfdeabea
|
||||
@ -66,6 +66,7 @@ automation:
|
||||
message: ist noch was offen.
|
||||
title: Alaaarm
|
||||
|
||||
# Wohnungstür mach alles aus
|
||||
- alias: turn_off_stuff
|
||||
trigger:
|
||||
- device_id: 95d34c3939ded141bc463c7dbfdeabea
|
||||
@ -92,6 +93,44 @@ automation:
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.bedroom_switch_lamp
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.nursery_bulb
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.office_switch_socket
|
||||
|
||||
|
||||
- alias: turn_off_at_night
|
||||
trigger:
|
||||
- platform: time
|
||||
at: "02:00:00"
|
||||
action:
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.bedroom_lights
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.living_room_lights
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.office_bulb
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.guestroom_switch_lamp
|
||||
- service: script.turn_on
|
||||
target:
|
||||
entity_id: script.denon_tv_turn_off
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.bedroom_switch_lamp
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.nursery_bulb
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.office_switch_socket
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
@ -72,14 +75,15 @@ script:
|
||||
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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user