Trying to refactor the tracker entity_status

This commit is contained in:
2021-04-10 22:47:32 +02:00
parent ec63a36c81
commit 093bebc391
5 changed files with 107 additions and 110 deletions

View File

@@ -53,7 +53,7 @@ class GeoRideOdometerSensorEntity(SwitchEntity):
async def async_update(self):
""" update the current tracker"""
_LOGGER.info('update')
_LOGGER.debug('update')
self._data = await self._get_tracker_callback(self._tracker_id)
self._name = self._data.tracker_name
self._state = self._data.odometer