Presence sensor from zigbee button

We had a pretty in depth discussion the other day about presence sensors.

I am far from the Rule Machine expert, but in 4.0 I have this option:

I would also add, you should look at any number of combined presence apps that are posted on this board. They take two or more forms of presence, and like the name implies, combines them to get a better idea if you are actually there. You could combine phone and Samsung fob, for example in case one or the other did not trigger arrival or departure.