diff --git a/include/automations/lysvedgarage.yaml b/include/automations/lysvedgarage.yaml index 3cb4f04..667b765 100644 --- a/include/automations/lysvedgarage.yaml +++ b/include/automations/lysvedgarage.yaml @@ -4,8 +4,12 @@ entity_id: binary_sensor.indkorsel_sensor_motion to: 'on' condition: - - condition: time - before: '23:00:00' + - condition: numeric_state + entity_id: sensor.indkorsel_sensor_illuminance + below: 90 +# - condition: time +# before: '23:00:00' + # - condition: state # entity_id: sun.sun