From e3c626938dc365ee88767360411c8320b6b8120a Mon Sep 17 00:00:00 2001 From: Jack Simbach Date: Sun, 3 Jan 2021 17:37:14 -0500 Subject: [PATCH] - another update loop related to online/offline state --- ge_kitchen/update_coordinator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ge_kitchen/update_coordinator.py b/ge_kitchen/update_coordinator.py index 8c11cf5..d067184 100644 --- a/ge_kitchen/update_coordinator.py +++ b/ge_kitchen/update_coordinator.py @@ -294,7 +294,7 @@ class GeKitchenUpdateCoordinator(DataUpdateCoordinator): self.maybe_add_appliance_api(appliance) await self.async_maybe_trigger_all_ready() _LOGGER.debug(f'Requesting updates for {appliance.mac_addr}') - while self.connected and appliance.available: + while self.connected: await asyncio.sleep(UPDATE_INTERVAL) if self.connected: await appliance.async_request_update()