# Homey flow: logical tests AND OR NOT

**URL:** <https://community.homey.app/t/homey-flow-logical-tests-and-or-not/18476>\
**Category:** Questions & Help\
**Created:** [September 24, 2019, 6:10pm UTC](https://community.homey.app/t/homey-flow-logical-tests-and-or-not/18476 "2019-09-24T18:10:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pilou](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pilou/32/13385_2.png) [@Pilou](https://community.homey.app/u/Pilou)\
**Post date:** [September 24, 2019, 6:10pm UTC](https://community.homey.app/t/homey-flow-logical-tests-and-or-not/18476/1 "2019-09-24T18:10:14Z")

</div>

Good evening everybody!

I’m using the Homey flow application to make my flows and I’ve a “stupid” question… How can I change the logical test AND in a OR fonction???

Ex. WHEN sunset in 15 minutes **OR** sunrise in 30 minutes THEN turn lights garden on

Thanks à lot !!!

---

<div class="post-metadata">

**Author:** ![Marc](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marc/32/11229_2.png) [@Marc](https://community.homey.app/u/Marc)\
**Post date:** [September 24, 2019, 6:18pm UTC](https://community.homey.app/t/homey-flow-logical-tests-and-or-not/18476/2 "2019-09-24T18:18:12Z")

</div>

@Pilou  
It’s not possible to use more then one trigger…So I think it’s not possible in one flow. The trigger is “Sunset in 15minutes” in a flow and the other flow starts with “Sunrise is in 30minutes”

---

<div class="post-metadata">

**Author:** ![Pilou](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pilou/32/13385_2.png) [@Pilou](https://community.homey.app/u/Pilou)\
**Post date:** [September 24, 2019, 6:21pm UTC](https://community.homey.app/t/homey-flow-logical-tests-and-or-not/18476/3 "2019-09-24T18:21:48Z")

</div>

Hi Marc, THX for the answer. I was searching for a while and I didn’t find a solution. I will do it like you said. Do you know if there’s somewhere a “manual” for this application?

nice evening!!!

---

<div class="post-metadata">

**Author:** ![Marc](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marc/32/11229_2.png) [@Marc](https://community.homey.app/u/Marc)\
**Post date:** [September 24, 2019, 7:26pm UTC](https://community.homey.app/t/homey-flow-logical-tests-and-or-not/18476/4 "2019-09-24T19:26:03Z")

</div>

@Pilou  
There is no manual for making flows, but I think if you will search on this forum there a lot of flows that people are sharing.  
Also on facebook you can find a lot of flows on the page of Domoticahuis.

And then there is also the athom support site ([https://support.athom.com/hc/nl/sections/360002048973-Flow](https://support.athom.com/hc/nl/sections/360002048973-Flow)) where you can find some explanations.

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [September 24, 2019, 7:34pm UTC](https://community.homey.app/t/homey-flow-logical-tests-and-or-not/18476/5 "2019-09-24T19:34:01Z")

</div>

And don’t forget the flows category, [just here](https://community.homey.app/c/flows) on the forums!

---

<div class="post-metadata">

**Author:** ![Pilou](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pilou/32/13385_2.png) [@Pilou](https://community.homey.app/u/Pilou)\
**Post date:** [September 24, 2019, 11:36pm UTC](https://community.homey.app/t/homey-flow-logical-tests-and-or-not/18476/6 "2019-09-24T23:36:56Z")

</div>

Yeah, I learned already a lot with this forum. Very interesting but sometimes a jungle to find things…

---

<div class="post-metadata">

**Author:** ![Pilou](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pilou/32/13385_2.png) [@Pilou](https://community.homey.app/u/Pilou)\
**Post date:** [September 24, 2019, 11:38pm UTC](https://community.homey.app/t/homey-flow-logical-tests-and-or-not/18476/7 "2019-09-24T23:38:25Z")

</div>

Yesss, I had already a look… thx !!!
