From fbdaf0b752adaf42deb67594c45988ae2af684a9 Mon Sep 17 00:00:00 2001 From: Claus Dethlefsen Date: Sun, 13 Mar 2022 08:49:53 +0100 Subject: [PATCH] sluk lys stue --- include/automations/good_morning.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/include/automations/good_morning.yaml b/include/automations/good_morning.yaml index 347e7de..6a4ac3f 100644 --- a/include/automations/good_morning.yaml +++ b/include/automations/good_morning.yaml @@ -55,3 +55,16 @@ - service: script.andreas_color_scene - service: script.daniel_color_scene + - alias: 'Sluk lys stue' + trigger: + platform: numeric_state + entity_id: sensor.forgang_sensor_illuminance + above: 90 + for: + minutes: 3 +# platform: sun +# event: sunrise + action: + - service: light.turn_off + data: + entity_id: light.stue