{"record":{"id":"82e12f4d27fa63f4","repo":"home-assistant/core","slug":"unable-to-connect-to-the-arve-device","errorCode":null,"errorMessage":"Unable to connect to the Arve device","messagePattern":"Unable to connect to the Arve device","errorType":"exception","errorClass":"UpdateFailed","httpStatus":null,"severity":"error","filePath":"homeassistant/components/arve/coordinator.py","lineNumber":62,"sourceCode":"            self.config_entry.data[CONF_CLIENT_SECRET],\n            session=async_get_clientsession(hass),\n        )\n\n    @override\n    async def _async_update_data(self) -> dict[str, ArveDeviceInfo]:\n        \"\"\"Fetch data from API endpoint.\"\"\"\n        try:\n            self.devices = await self.arve.get_devices()\n\n            response_data = {\n                sn: ArveDeviceInfo(\n                    await self.arve.device_sensor_data(sn),\n                    await self.arve.get_sensor_info(sn),\n                )\n                for sn in self.devices.sn\n            }\n        except ArveConnectionError as err:\n            raise UpdateFailed(\"Unable to connect to the Arve device\") from err\n        except ArveError as err:\n            raise UpdateFailed(\"Unknown error occurred\") from err\n\n        return response_data\n","sourceCodeStart":44,"sourceCodeEnd":67,"githubUrl":"https://github.com/home-assistant/core/blob/58a3fdb3ea0538617f0a07efcfba6294de64fd59/homeassistant/components/arve/coordinator.py#L44-L67","documentation":"UpdateFailed('Unable to connect to the Arve device') raised by the Arve coordinator when pyarve raises ArveConnectionError during get_devices()/device_sensor_data()/get_sensor_info(). It marks the poll as failed and entities unavailable; recovery is automatic on the next successful poll.","triggerScenarios":"Any coordinator refresh where the Arve cloud/local API connection fails at the HTTP layer: server unreachable, connection reset, or DNS failure for the Arve endpoint.","commonSituations":"Arve cloud outage, local Arve hub offline, firewall blocking outbound API traffic, intermittent Wi-Fi on the host running Home Assistant.","solutions":["Check connectivity to the Arve API from the HA host (DNS, firewall, proxy).","Confirm the Arve service status / hub is online.","Wait for the coordinator retry; if it never recovers, reload the integration to rebuild the API client."],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":"Catch ArveConnectionError separately from ArveError (integration pattern): connection errors map to a specific UpdateFailed and rely on coordinator retry; generic errors get their own message plus the chained cause for diagnosis.","preventionTips":["Monitor outbound connectivity to the Arve endpoint from the HA host.","Order exception handlers most-specific first (ArveConnectionError before ArveError).","Let the coordinator's backoff handle transient outages instead of manual reloads."],"tags":["home-assistant","arve","network","coordinator","api-error"],"backgroundTag":null,"analyzedSha":"58a3fdb3ea0538617f0a07efcfba6294de64fd59","analyzedAt":"2026-08-14T20:54:38.818Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}