Fix socket thread launch after first time

This commit is contained in:
2019-11-03 19:34:39 +01:00
parent 991370fcec
commit ecf2a23c70
5 changed files with 31 additions and 28 deletions

View File

@@ -117,9 +117,9 @@ class GeorideTrackerEntity(TrackerEntity):
"""No polling needed."""
return True
async def async_update(self):
def update(self):
""" update the current tracker"""
_LOGGER.info('update')
self._data = self._get_tracker_callback(self._tracker_id)
self._name = self._data.tracker_name
return