Add version in manifet, and add_executor_job on config_flow

This commit is contained in:
2021-04-10 12:54:42 +02:00
parent bcaa4bf957
commit be4e68e152
3 changed files with 6 additions and 5 deletions

View File

@@ -209,7 +209,7 @@ class GeoRideContext:
async def refresh_trackers(self):
"""Used to refresh the tracker list"""
_LOGGER.info("Tracker list refresh")
self._georide_trackers = await self._hass.async_add_executor_job(GeoRideApi.get_trackers, await self.get_token)
self._georide_trackers = await self._hass.async_add_executor_job(GeoRideApi.get_trackers, await self.get_token())
@property
def socket(self):