# Automatic lights off with delay

**URL:** https://community.homey.app/t/automatic-lights-off-with-delay/150749
**Category:** Flows
**Created:** [February 7, 2026, 5:29pm UTC](https://community.homey.app/t/automatic-lights-off-with-delay/150749 "2026-02-07T17:29:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![flo-2b](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/flo-2b/32/152160_2.png) [@flo-2b](https://community.homey.app/u/flo-2b)
#### Post date: [February 7, 2026, 5:29pm UTC](https://community.homey.app/t/automatic-lights-off-with-delay/150749/1 "2026-02-07T17:29:48Z")

</div>

Hello,  
I have a presence sensor in the kitchen Aqara FP300, with automatic lights off every time the presence detector is deactivated.  
The reset presence alarm is done after 30 seconds.  
I would like to add a 3-minute delay for the shutdown on the time slot from 6 PM to 9 PM but I can’t.  
Is my flow correct?

 ![Capture d’écran 2026-02-07 à 18.24.21](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/e/2e2fbc1cdf19f3d368e838b584d39c01b1e8324b.png)

---

<div class="post-metadata">

### Author: ![Anoniemand](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anoniemand/32/120697_2.png) [@Anoniemand](https://community.homey.app/u/Anoniemand)
#### Post date: [February 7, 2026, 5:38pm UTC](https://community.homey.app/t/automatic-lights-off-with-delay/150749/2 "2026-02-07T17:38:32Z")

</div>

You should remove the link between the first and the final card. Instead you should connect the lower “dot” (condition is false) directly to the final card. So when the time is not between 18:00 and 21:00 the light goes out directly else the 3 min delay route is followed.

Now the first and final card are connected directly so the light goes out directly

---

<div class="post-metadata">

### Author: ![flo-2b](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/flo-2b/32/152160_2.png) [@flo-2b](https://community.homey.app/u/flo-2b)
#### Post date: [February 7, 2026, 5:59pm UTC](https://community.homey.app/t/automatic-lights-off-with-delay/150749/3 "2026-02-07T17:59:44Z")

</div>

Hello Anoniemand,

Thank you for your help.  
Now it works.  
Excuse me, I am a beginner, and I still have trouble getting familiar with the flows

---

<div class="post-metadata">

### Author: ![Anoniemand](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anoniemand/32/120697_2.png) [@Anoniemand](https://community.homey.app/u/Anoniemand)
#### Post date: [February 7, 2026, 6:36pm UTC](https://community.homey.app/t/automatic-lights-off-with-delay/150749/4 "2026-02-07T18:36:47Z")

</div>

No need to apologize. Glad you got it working now and you’ve learned something about flows 🙂
