I’m troubleshooting some automations that are supposed to run when everybody leaves the house (based on zone count == 0). Sometimes it fires while one person is still home because the iOS device tracker entity is in “unknown” state. I think this happens when Home Assistant is restarted while the iPhone is at home. I guess the iPhone doesn’t bother sending a location update because it hasn’t moved. Is that right? Looking at the location history in my companion app now, it hasn’t updated in 36 hours (while I’ve been home).
Is there a way to avoid this issue? Perhaps a way to make the iOS app send a new location whenever it reconnects to the server?
I’m using core 2023.11.2.