I recently updated everything to use the new iOS app, using HA 0.103.0 (docker) with the latest app from the app store. The app has location permission (always).
I’d previously set some zones (home, school, work) with notifications alerting when people arrived/left.
Since the upgrade my device_tracker.iphone reports not_home, even after a location push. If I check Configuration/Integrations the sensor.geocoded_location reports my location accurately as being at my home location, so the phone knows where I am and it’s passing this to HA sucessfully.
Could anyone advise how I can debug, or what I need to look into?
I don’t think that’s the case (but am prepared to be wrong).
In Configuration/Integrations I can see “Mobile App: iPhone” (iPhone is the name of my phone)
If I then go to the Device Info I can see the list of Entities
One of those is device_tracker.iphone which is what I’m using to determine location. It says it updated 23 hours ago, and I’m “Away”.
I also see an entity called sensor.geocoded_location which updated 4 minutes ago and correctly shows my current lat/long/address.
Am I not supposed to use device_tracker.iphone any longer? Or is there perhaps something in my config that’s wrong?
So I’ve solved the problem by doing an entier HA reinstall and setup from scratch.
While doing so I noticed that the zones were no longer defined in the configuration file but instead are, I assume, in the database. This could have been the issue as I’d never set zones via the HA GUI, only in that config file.