If location mode using OR not triggering


#1

I’ve tried it many different ways, it seems when trying to set up the following IF statement, the first condition will trigger, but the second does not.
May need to be moved to Bug Report.


#2

Why not just make the if statement “if Location mode changes” and not have the “away from” or “to”?


#3

Can you see a lightning bolt next to both IF statements? the bolt tells us if the statement is subscribed to the event or not.

If you post a green snapshot rather than a manual screen snip we can help debug a lot easier :wink:


#4

I found a band-aid around the problem for myself, I subscribed to location mode changes and then use an OR statement on the $locationMode which works great.
But if you look at the piston and logs below you will see its not seeing the second part of the if/or condition.


#5

@stevesell to answer your question, I have a couple of different modes, one of which is a ‘Jewish holiday’ mode. I have a bell the rings when the location switches TO and FROM that mode only. Hence the necessity for the condition.