Hi there!
This is my first post but I’m with HA since at least 3 years: this time I have a problem that I couldn’t resolve by myself.
Since a few months ago I’m having issues in my mobile_app integrations: seems that HA is failing to interpretate the update coming from the App, reporting this error in log (I’ve changed the lat/long numbers for privacy):
Logger: homeassistant.util.logging
Source: util/logging.py:108
First occurred: 10 dicembre 2020, 18:07:33 (138 occurrences)
Last logged: 12:28:24
* Exception in update_data when dispatching 'mobile_app_location_update_d137d22a114411eb8b5b3b2eb7f5aee0': ({'altitude': 382.64002990722656, 'battery': 28, 'gps': [45.0, 7.0], 'gps_accuracy': 65, 'vertical_accuracy': 20},) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mobile_app/device_tracker.py", line 148, in update_data self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 296, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 320, in _async_write_ha_state sstate = self.state File "/usr/src/homeassistant/homeassistant/components/device_tracker/config_entry.py", line 104, in state zone_state = zone.async_active_zone( File "/usr/src/homeassistant/homeassistant/components/zone/__init__.py", line 122, in async_active_zone within_zone = zone_dist - radius < zone.attributes[ATTR_RADIUS] TypeError: '<' not supported between instances of 'float' and 'str'
I have already tried to remove the mobile app integration, reinstall iOS app and so on.
This failures causes my device_tracker state (and person state as well) to be always “unknown”, breaking all my location-based automations.
I waited for a couple of update to see if it goes better somehow, but now I’m here with no more ideas.
How can I try to resolve?
Thank You!