# How to prevent lights from turning off by Homey-Flow when I turn them manually

**URL:** <https://community.homey.app/t/how-to-prevent-lights-from-turning-off-by-homey-flow-when-i-turn-them-manually/116052>\
**Category:** Questions & Help\
**Tags:** z-wave, homey-pro\
**Created:** [September 14, 2024, 11:28pm UTC](https://community.homey.app/t/how-to-prevent-lights-from-turning-off-by-homey-flow-when-i-turn-them-manually/116052 "2024-09-14T23:28:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [September 15, 2024, 1:16am UTC](https://community.homey.app/t/how-to-prevent-lights-from-turning-off-by-homey-flow-when-i-turn-them-manually/116052/2 "2024-09-15T01:16:55Z")

</div>

Hi Giovanni,

I once made a similar flow example

> [@The Flow Exchange(r) - Exchange Your Flows with Others!](https://community.homey.app/t/the-flow-exchange-r-exchange-your-flows-with-others/68981/84):
>
> # Zone activated Device with Manual Device OnOff option
> 
> When you have, say, a garage with (a) motion sensor(s), and (a) (garage)door sensor(s), the light should turn on for 3 minutes after a motion event, or an opened garagedoor;  
> While there’s movement, lights stay on;  
> When the button gets pushed, lights should turn on, and stay on until the button is pushed again.
> 
> ![Screenshot 2023-09-17 at 03-11-50 1.HomeyPro Peter](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/c/dc5e2a670aff248e5dc0f34e5574e59fe968955a.png)
> 
> ### Apps used:
> 
> - [Chronograph](https://homey.app/a/nl.fellownet.chronograph)

---

_[View the full topic](https://community.homey.app/t/how-to-prevent-lights-from-turning-off-by-homey-flow-when-i-turn-them-manually/116052)._
