Add get_tracker to await
This commit is contained in:
@@ -19,7 +19,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities): # pylint: d
|
||||
if token is None:
|
||||
return False
|
||||
|
||||
trackers = GeoRideApi.get_trackers(token)
|
||||
trackers = await GeoRideApi.get_trackers(token)
|
||||
|
||||
binary_sensor_entities = []
|
||||
for tracker in trackers:
|
||||
|
||||
Reference in New Issue
Block a user