From 63021174a32a4a862bcf4b8107e47f9eb37c534a Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Sun, 9 Jan 2022 19:15:21 -0500 Subject: [PATCH] Automation to turn on some lights at sunset, if we are home --- automations.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/automations.yaml b/automations.yaml index f18ee65..f4683d6 100644 --- a/automations.yaml +++ b/automations.yaml @@ -232,3 +232,21 @@ action: - service: script.give_me_darkness mode: single +- id: '1641765546839' + alias: Sunset Lights On + description: '' + trigger: + - platform: sun + event: sunset + offset: -00:15 + condition: + - condition: state + entity_id: group.family + state: home + action: + - service: light.turn_on + target: + entity_id: + - light.living_room_lights + - light.mud_room_overhead + mode: single