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: