Presence Detection Rule

I have updated the above code that I payed above which you can find here:

My understanding is adding a type to the group should be sufficient to get update events on the Group but since I use gPresent’s state elsewhere I’ve always had a function.