Also play with the Devices flow cards (apparaten in Dutch) :
With this you can react on situations when for instance a contact alarm goes of in a certain room. Or when some light has gone on. Or you can turn off all lights in a specific room at once without having to add all the devices separate in the last column.
If you happen to have a Ubiquiti controller you can control presence by using the app Ubiquiti Unify. Add the various devices (phones) with that app and make two flows per device.
Flow 1: When device gets connected set presence of person x to true
Flow 2: when device gets disconnected set presence of person x to false.
you could, if you wanted make a third flow setup using timers countdown
Flow 1: the same as previous scenario except you add a stop timer card for person x to
Flow 2: If device disconnects. Start a timer for person x
Flow 3: If timer for person x ends and device is disconnected. Set presence of person x to away