We know Apple is not the company which make things cool. So HomeKit cant manage location based Automation for multiple iPhones with dependencies. e.g. when my wife leave the house before me, all lights turns off
Solution:
Create a DummySwitch for each Family member and set a location based Automation for each DummySwitch in HomeKit on every iPhone.
After that we can have some fun with Rules.
Enjoy
EDIT:
don’t get confused! if you have 5 family members, you have to set up 5 automations. on every iPhone one, but everyone can see all five. the only way to distinguish, is to look inside which dummy switch is deposited. again, kudos @apple! renaming things is for fools