- another update loop related to online/offline state

This commit is contained in:
Jack Simbach 2021-01-03 17:37:14 -05:00
parent 3e845764ec
commit e3c626938d
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ class GeKitchenUpdateCoordinator(DataUpdateCoordinator):
self.maybe_add_appliance_api(appliance) self.maybe_add_appliance_api(appliance)
await self.async_maybe_trigger_all_ready() await self.async_maybe_trigger_all_ready()
_LOGGER.debug(f'Requesting updates for {appliance.mac_addr}') _LOGGER.debug(f'Requesting updates for {appliance.mac_addr}')
while self.connected and appliance.available: while self.connected:
await asyncio.sleep(UPDATE_INTERVAL) await asyncio.sleep(UPDATE_INTERVAL)
if self.connected: if self.connected:
await appliance.async_request_update() await appliance.async_request_update()