Life360 trigger (first, last) family members

I can’t find any examples of how to trigger an automation when the first family member gets home ( disarm alarm) or when the last family member leaves home (arm alarm). Any ideas?

You could use the state of the device tracker group to trigger the automations. See here for more info.

Thanks @Tediore. And what if I want to trigger when anyone arrives home?

The group should change to home once anyone arrives home if everyone was away. You can then use that to trigger an automation. Is that what you mean?

Right which is perfect. Thx!

i found my answer in the docs for this to also be triggered for anyone.