From d13cdd3a14f04378f938abf48094a376bdd8eb3f Mon Sep 17 00:00:00 2001 From: Claus Dethlefsen Date: Wed, 16 Nov 2022 17:42:09 +0100 Subject: [PATCH] *** empty log message *** --- include/automations/lysindkorsel.yaml | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/include/automations/lysindkorsel.yaml b/include/automations/lysindkorsel.yaml index a374b83..d466b8b 100644 --- a/include/automations/lysindkorsel.yaml +++ b/include/automations/lysindkorsel.yaml @@ -59,9 +59,12 @@ entity_id: binary_sensor.indkorsel_sensor_motion to: 'on' condition: +# - condition: time +# after: '22:00:10' +# before: '05:54:00' - condition: time - after: '22:00:10' - before: '05:54:00' + after: '15:00:10' + before: '09:54:00' - condition: numeric_state entity_id: sensor.indkorsel_sensor_illuminance below: 80 @@ -82,13 +85,16 @@ to: 'off' for: minutes: 15 - condition: - - condition: time - after: '22:00:10' - before: '05:54:00' - - condition: state - entity_id: sun.sun - state: below_horizon +# condition: +# - condition: time +# after: '22:00:10' +# before: '05:54:00' +# - condition: time +# after: '22:00:10' +# before: '05:54:00' +# - condition: state +# entity_id: sun.sun +# state: below_horizon action: service: light.turn_off data: