Homey Community Forum

My flow keeps firing even though an AND statement is not met

#1

My new cleaning lady was in total shock :slight_smile: Lights flashing, alarm blaring, homey talking …

When my Nest sets itself to away an alarm flow is triggered but it should only trigger when ‘today is not monday’. It does it anyway. What am i doing wrong? See flow below.

#2

Well some of the or things are not online and trigger it :joy:

It should be and and and. Not and or or

#3

Maybe best discribe what u wanna achieve.
If the cleaning lady is there on Monday and u guys are away then the flows should have like:
When it’s not Monday AND we are both not at home. Not OR.
But maybe u have other thoughts about this.

#4

As mentioned above, this is not what you build in your flow.
The ORs make the flow fire even if the AND is not true.
So probably one of the ORs where true at that time.
You can add papertrails (see appstore) for making debugging easier

1 Like
#5

(And when your flows behave how you want them to behave, have a look at Heimdall - Let Homey watch over your home and https://apps.athom.com/app/com.uc.heimdall as I’m guessing you want to use your Homey as an Alarmsystem)

1 Like
#6

I now see how my ANd - OR - OR is indeed the issue :slight_smile:

So i dumped the ORs and just did ‘and if today is not monday’ and added an AND “Send a push confirmation” card.

Now tomorrow is monday :smile: lets see how it goes. Should I give her a heads up or… :crazy_face:

Thx for all the tips, i’ve been checking Heimdall for a while but I was so proud of my gazillion flows that do the same … :wink:

2 Likes