|
|
@ -23,7 +23,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities): # pylint: d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_LOGGER.info('Current georide token: %s', token)
|
|
|
|
_LOGGER.info('Current georide token: %s', token)
|
|
|
|
trackers = await GeoRideApi.get_trackers(token)
|
|
|
|
trackers = await hass.async_add_executor_job(GeoRideApi.get_trackers, token)
|
|
|
|
|
|
|
|
|
|
|
|
lock_switch_entities = []
|
|
|
|
lock_switch_entities = []
|
|
|
|
for tracker in trackers:
|
|
|
|
for tracker in trackers:
|
|
|
|