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