diff --git a/midealocal/device.py b/midealocal/device.py index fe9caa21..d741acb5 100644 --- a/midealocal/device.py +++ b/midealocal/device.py @@ -697,6 +697,8 @@ def run(self) -> None: # noqa: PLR0915 break except NoSupportedProtocol: _LOGGER.debug("[%s] No Supported protocol", self._device_id) + # sleep 1 seconds to prevent high cpu usage in for loop + time.sleep(1) # ignore and continue loop continue except ConnectionResetError: # refresh_status -> build_send exception