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

@ -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