From e7e11e3429a4495ffbee1f199c0acf4be378d0f4 Mon Sep 17 00:00:00 2001 From: Pierre Date: Thu, 9 Jul 2026 23:17:29 +0200 Subject: [PATCH] Added a motion light to the porche --- apps/rooms/corridor.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/rooms/corridor.yaml b/apps/rooms/corridor.yaml index 995975d..f33b9df 100644 --- a/apps/rooms/corridor.yaml +++ b/apps/rooms/corridor.yaml @@ -41,5 +41,14 @@ light_restroom: 25: binary_sensor.day_interval_night 100: True +light_porche: + module: smartlight + class: SmartLight + entity: light.porche + + smart_conditions: + trigger_conditions: sensor.porche_last_motion < 3 + blocking_conditions: sensor.porche_motion_light_level > 10 and not self + \ No newline at end of file