diff --git a/custom_components/enphase_envoy/envoy_reader.py b/custom_components/enphase_envoy/envoy_reader.py index f09f2e6..203cd05 100644 --- a/custom_components/enphase_envoy/envoy_reader.py +++ b/custom_components/enphase_envoy/envoy_reader.py @@ -770,7 +770,7 @@ async def _async_fetch_with_retry(self, url, **kwargs): received_401 += 1 continue _LOGGER.debug("Fetched from %s: %s: %s", url, resp, resp.text) - if resp.status_code == 404: + if resp.status_code != 200: return None return resp except httpx.TransportError as e: