diff --git a/custom_components/ledfx/core/worker.py b/custom_components/ledfx/core/worker.py index 9db64ac..a525359 100644 --- a/custom_components/ledfx/core/worker.py +++ b/custom_components/ledfx/core/worker.py @@ -116,7 +116,9 @@ async def async_update(self) -> None: self._available = True except Exception as e: - _LOGGER.error("ERROR LedFx connection error ({}:{}) %r".format(self.ip, self.port), e) + if self._available: + _LOGGER.error("ERROR LedFx connection error ({}:{}) %r".format(self.ip, self.port), e) + self._available = False current_devices = []