Is there a difference between On Event and If Triggers


#1

1) Give a description of the problem
Is there any difference between the following?

A: if MyAndroid’s presence changes
B:on event from MyAndroid’s presence

2) What is the expected behaviour?
The same behaviour. I’m just curious if there is any difference for these two examples.

3) What is happening/not happening?
Not sure

4) Post a Green Snapshot of the pistonimage


vs.

5) Attach logs after turning logging level to Full
(PASTE YOUR LOGS HERE THEN HIGHLIGHT ALL OF THE LOGS AND CLICK ON THE </> ICON TO FORMAT THEM CORRECTLY)

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.


#2

On Events” triggers when the device changes anything
IF Presence changes” only fires when the presence changes.


For example, if we were talking about a smart light:

IF Bulb's switch changes” fires when the switch turns on or off
but
On Events from Bulb” will fire when switch changes, level changes, or color changes.


I like precision, so I usually go with “IF X changes


#3

But in his example he’s got
On Events from Presence Sensor 1’s presence
So wouldn’t that be only events pertaining to PS1’s presence, just like
If Presence Sensor 1’s presence changes?


#4

Good point @qoheleth
That’s what I get for posting before my first cup of coffee, LOL


#5

So is it confirmed that these statements are equivalent?


#6

I am going to say similar, but not identical.