Since performing update 0.107.0 phone device trackers keep status at “not_home” while we are at home. My wife and I both have Samsung Galaxy S9 running Home assistant companion app, never had problems before.
Checking HA log gives this recurring error:
Exception in update_data when dispatching 'mobile_app_location_update_9bbf8168b70a4a028f384f2ed64bf64f': ({'location_name': '', 'gps': [51.3326673, 5.4011639], 'gps_accuracy': 10, 'battery': 71, 'speed': 0, 'altitude': 76.0, 'course': 304, 'vertical_accuracy': 3},) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mobile_app/device_tracker.py", line 151, in update_data self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 297, in async_write_ha_state self._async_write_ha_state() # type: ignore File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 320, in _async_write_ha_state state = self.state File "/usr/src/homeassistant/homeassistant/components/device_tracker/config_entry.py", line 105, in state self.hass, self.latitude, self.longitude, self.location_accuracy File "/usr/src/homeassistant/homeassistant/components/zone/__init__.py", line 102, in async_active_zone zone.attributes[ATTR_LATITUDE], KeyError: 'latitude'