# Is there a way to stop a flow from execute actions?

**URL:** <https://community.homey.app/t/is-there-a-way-to-stop-a-flow-from-execute-actions/58934>\
**Category:** Flows\
**Tags:** flow, homey-bridge\
**Created:** [January 22, 2022, 8:35pm UTC](https://community.homey.app/t/is-there-a-way-to-stop-a-flow-from-execute-actions/58934 "2022-01-22T20:35:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Franco\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/franco_c/32/48713_2.png) [@Franco\_C](https://community.homey.app/u/Franco_C)\
**Post date:** [January 22, 2022, 8:35pm UTC](https://community.homey.app/t/is-there-a-way-to-stop-a-flow-from-execute-actions/58934/1 "2022-01-22T20:35:44Z")

</div>

Hi,

I’m trying to set up a flow to turn off lights forgotten on during day after a couple of minutes.

The problem is that once my flow starts:

When  
Lights on  
Then  
Power off after 120 seconds  
Notify me

Notification push me even if lights it has already turned off

How can I stop notifications when not needed?

Thanks for your help

---

<div class="post-metadata">

**Author:** ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)\
**Post date:** [January 22, 2022, 8:42pm UTC](https://community.homey.app/t/is-there-a-way-to-stop-a-flow-from-execute-actions/58934/2 "2022-01-22T20:42:41Z")

</div>

Split it up in two flows…

> [@Franco\_C](#):
>
> When  
> Lights on  
> Then  
> Power off after 120 seconds

At to the Then:  
Start flow “notify me”

Flow “notify me”

When  
This flow is started  
Then

> [@Franco\_C](#):
>
> Notify me

---

<div class="post-metadata">

**Author:** ![Franco\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/franco_c/32/48713_2.png) [@Franco\_C](https://community.homey.app/u/Franco_C)\
**Post date:** [January 22, 2022, 9:16pm UTC](https://community.homey.app/t/is-there-a-way-to-stop-a-flow-from-execute-actions/58934/3 "2022-01-22T21:16:28Z")

</div>

Mmm sorry but…how/why this should not notify me when lights is turned off?

Thanks

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [January 23, 2022, 2:52am UTC](https://community.homey.app/t/is-there-a-way-to-stop-a-flow-from-execute-actions/58934/4 "2022-01-23T02:52:42Z")

</div>

This goes in you’re own flow after THEN

Start a flow “check light” after 120 seconds

When this flow is started “check light”  
And  
The light is on  
Then  
Send a notification

So if the light is on after 120 second you get a notification.

---

<div class="post-metadata">

**Author:** ![Franco\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/franco_c/32/48713_2.png) [@Franco\_C](https://community.homey.app/u/Franco_C)\
**Post date:** [January 23, 2022, 6:31pm UTC](https://community.homey.app/t/is-there-a-way-to-stop-a-flow-from-execute-actions/58934/5 "2022-01-23T18:31:24Z")

</div>

Nice it works!

Thank you
