# The lights turn off when the zone is active

**URL:** <https://community.homey.app/t/the-lights-turn-off-when-the-zone-is-active/59005>\
**Category:** Flows\
**Tags:** flow\
**Created:** [January 23, 2022, 11:15pm UTC](https://community.homey.app/t/the-lights-turn-off-when-the-zone-is-active/59005 "2022-01-23T23:15:37Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [April 23, 2023, 8:01pm UTC](https://community.homey.app/t/the-lights-turn-off-when-the-zone-is-active/59005/9 "2023-04-23T20:01:59Z")

</div>

@DirkG I guessed wrong, but I didn’t get any confirmation, until now that is 🙃

@Geir_DANIELSEN  
I’ve also moments when the light turns off while I’m still in the room  
I think this flow reduces that quite a bit, by adding a timer;  
Every time the zone is re-activated, the timer is paused  
When the zone is inactive, start the timer with a duration of X seconds, and the light turns off when the timer is finished:

> [@The Flow Exchange(r) - Exchange Your Flows with Others!](https://community.homey.app/t/the-flow-exchange-r-exchange-your-flows-with-others/68981/8):
>
> ![Screenshot from 2022-09-21 00-48-34](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/a/2aa742727e50bc75f1e9b207663d1b8b84560c32.png)

---

_[View the full topic](https://community.homey.app/t/the-lights-turn-off-when-the-zone-is-active/59005)._
