fix: change tv socket in automations
This commit is contained in:
parent
5b6ae1e872
commit
52ddc29412
@ -34,7 +34,7 @@ automation:
|
|||||||
message: ist noch offen!
|
message: ist noch offen!
|
||||||
title: Freezer
|
title: Freezer
|
||||||
|
|
||||||
# Badezimmer oder Gartentüre offen
|
# Wohnungstür check Badezimmer oder Gartentüre offen
|
||||||
- alias: open_doors_check
|
- alias: open_doors_check
|
||||||
trigger:
|
trigger:
|
||||||
- device_id: 95d34c3939ded141bc463c7dbfdeabea
|
- device_id: 95d34c3939ded141bc463c7dbfdeabea
|
||||||
@ -66,6 +66,7 @@ automation:
|
|||||||
message: ist noch was offen.
|
message: ist noch was offen.
|
||||||
title: Alaaarm
|
title: Alaaarm
|
||||||
|
|
||||||
|
# Wohnungstür mach alles aus
|
||||||
- alias: turn_off_stuff
|
- alias: turn_off_stuff
|
||||||
trigger:
|
trigger:
|
||||||
- device_id: 95d34c3939ded141bc463c7dbfdeabea
|
- device_id: 95d34c3939ded141bc463c7dbfdeabea
|
||||||
@ -92,6 +93,44 @@ automation:
|
|||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
target:
|
target:
|
||||||
entity_id: light.bedroom_switch_lamp
|
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:
|
script:
|
||||||
|
# Turn on Denon
|
||||||
denon_listen_music:
|
denon_listen_music:
|
||||||
sequence:
|
sequence:
|
||||||
- service: media_player.turn_on
|
- service: media_player.turn_on
|
||||||
@ -25,6 +26,7 @@ script:
|
|||||||
device: "75263914"
|
device: "75263914"
|
||||||
command: Play
|
command: Play
|
||||||
|
|
||||||
|
# Turn on Switch plus Music
|
||||||
denon_play_switch:
|
denon_play_switch:
|
||||||
sequence:
|
sequence:
|
||||||
- service: script.turn_on
|
- service: script.turn_on
|
||||||
@ -47,6 +49,7 @@ script:
|
|||||||
device: "78200006"
|
device: "78200006"
|
||||||
command: InputHdmi1
|
command: InputHdmi1
|
||||||
|
|
||||||
|
# Turn on Steam Link
|
||||||
denon_play_steam:
|
denon_play_steam:
|
||||||
sequence:
|
sequence:
|
||||||
- service: script.turn_on
|
- service: script.turn_on
|
||||||
@ -71,15 +74,16 @@ script:
|
|||||||
- service: media_player.volume_set
|
- service: media_player.volume_set
|
||||||
data:
|
data:
|
||||||
volume_level: 0.45
|
volume_level: 0.45
|
||||||
|
|
||||||
|
#Turn off TV and Denon
|
||||||
denon_tv_turn_off:
|
denon_tv_turn_off:
|
||||||
sequence:
|
sequence:
|
||||||
- service: media_player.turn_off
|
- service: media_player.turn_off
|
||||||
target:
|
target:
|
||||||
device_id: 5ec213f0aedf10ff7fdff1d05ae6ead6
|
device_id: 5ec213f0aedf10ff7fdff1d05ae6ead6
|
||||||
- service: light.turn_off
|
- service: switch.turn_off
|
||||||
target:
|
target:
|
||||||
entity_id: light.livingroom_switch_tv
|
entity_id: switch.livingroom_tv_socket_switch
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user