From 5b9177685622c290ad9d3b93b70bac8da7c262d4 Mon Sep 17 00:00:00 2001 From: Claus Dethlefsen Date: Mon, 21 Feb 2022 19:04:13 +0100 Subject: [PATCH] Revived --- include/automations/lysvedgarage.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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