# Flow runs although criterias are not fulfilled

**URL:** https://community.homey.app/t/flow-runs-although-criterias-are-not-fulfilled/140616
**Category:** Questions & Help
**Created:** [July 28, 2025, 7:35pm UTC](https://community.homey.app/t/flow-runs-although-criterias-are-not-fulfilled/140616 "2025-07-28T19:35:27Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Lars\_Goran\_Lindstrom](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lars_goran_lindstrom/32/122946_2.png) [@Lars\_Goran\_Lindstrom](https://community.homey.app/u/Lars_Goran_Lindstrom)
#### Post date: [July 28, 2025, 7:35pm UTC](https://community.homey.app/t/flow-runs-although-criterias-are-not-fulfilled/140616/1 "2025-07-28T19:35:27Z")

</div>

The flow is:  
WHEN contact alarm is activated (door open)  
AND  
DATE AND TIME time is beteween 22.00 and 8.00  
PRESENCE Lars Göran is at home  
OR  
PRESENCE Lena Olson is at home  
THEN  
Dim light to 100 %

The flow runs every time the door is opened even if time is not between 22.00 and 8.00 and we are at home. Where is my logic wrong?

 ![IMG_0286](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/4/2484e1b19999c74bb85da08fa9a5bc93e3fc24b1.jpeg)

---

<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: [July 28, 2025, 7:39pm UTC](https://community.homey.app/t/flow-runs-although-criterias-are-not-fulfilled/140616/2 "2025-07-28T19:39:31Z")

</div>

This fliw will run when Lena is home…..(the OR is true).

---

<div class="post-metadata">

### Author: ![Lars\_Goran\_Lindstrom](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lars_goran_lindstrom/32/122946_2.png) [@Lars\_Goran\_Lindstrom](https://community.homey.app/u/Lars_Goran_Lindstrom)
#### Post date: [July 28, 2025, 7:41pm UTC](https://community.homey.app/t/flow-runs-although-criterias-are-not-fulfilled/140616/3 "2025-07-28T19:41:09Z")

</div>

So if I add the time condition for her too it will work! Thanks for the help!

---

<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: [July 29, 2025, 4:21pm UTC](https://community.homey.app/t/flow-runs-although-criterias-are-not-fulfilled/140616/4 "2025-07-29T16:21:34Z")

</div>

Additionally: Homey is not good with different dates in time conditions.

Hence I always invert it twice:

AND it’s not between 8.00 and 22.00 hours

This results in true, when the time is between 22 and 8 hours, regardless if it’s before or after midnight.

---

<div class="post-metadata">

### Author: ![Lars\_Goran\_Lindstrom](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lars_goran_lindstrom/32/122946_2.png) [@Lars\_Goran\_Lindstrom](https://community.homey.app/u/Lars_Goran_Lindstrom)
#### Post date: [July 29, 2025, 5:58pm UTC](https://community.homey.app/t/flow-runs-although-criterias-are-not-fulfilled/140616/5 "2025-07-29T17:58:39Z")

</div>

😊👍 Thanks for the info!
