{"record":{"id":"fba8ed489a5f6b29","repo":"home-assistant/core","slug":"blink-failed-to-arm-camera-away","errorCode":null,"errorMessage":"Blink failed to arm camera away","messagePattern":"Blink failed to arm camera away","errorType":"exception","errorClass":"HomeAssistantError","httpStatus":null,"severity":"error","filePath":"homeassistant/components/blink/alarm_control_panel.py","lineNumber":108,"sourceCode":"        try:\n            await self.sync.async_arm(False)\n\n        except TimeoutError as er:\n            raise HomeAssistantError(\"Blink failed to disarm camera\") from er\n        except UnauthorizedError as er:\n            self.coordinator.config_entry.async_start_reauth(self.hass)\n            raise ConfigEntryAuthFailed(\"Blink authorization failed\") from er\n\n        await self.coordinator.async_refresh()\n\n    @override\n    async def async_alarm_arm_away(self, code: str | None = None) -> None:\n        \"\"\"Send arm command.\"\"\"\n        try:\n            await self.sync.async_arm(True)\n\n        except TimeoutError as er:\n            raise HomeAssistantError(\"Blink failed to arm camera away\") from er\n        except UnauthorizedError as er:\n            self.coordinator.config_entry.async_start_reauth(self.hass)\n            raise ConfigEntryAuthFailed(\"Blink authorization failed\") from er\n\n        await self.coordinator.async_refresh()\n","sourceCodeStart":90,"sourceCodeEnd":114,"githubUrl":"https://github.com/home-assistant/core/blob/58a3fdb3ea0538617f0a07efcfba6294de64fd59/homeassistant/components/blink/alarm_control_panel.py#L90-L114","documentation":"blink alarm_control_panel.async_alarm_arm_away raises HomeAssistantError('Blink failed to arm camera away') when sync.async_arm(True) times out. The arm-away command was sent to the Blink cloud but no response came back within the timeout, so HA cannot confirm the sync module armed; the post-command coordinator refresh is skipped.","triggerScenarios":"Calling alarm_control_panel.alarm_arm_away on a Blink sync module when the blinkpy request exceeds its timeout — Blink cloud latency, temporary API brownouts, or poor upstream connectivity from the HA host.","commonSituations":"Blink cloud incidents; leaving-geofence automations firing while internet is flaky; large sync modules with many cameras making arm commands slow to confirm.","solutions":["Retry the arm command; most timeouts are transient.","Check the Blink app / Blink service status to rule out a cloud outage.","Verify upstream internet connectivity on the HA host.","If arm state is uncertain, check the sync module state in HA after the failure before re-arming."],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":"from homeassistant.exceptions import HomeAssistantError\n\ntry:\n    await alarm.async_alarm_arm_away(code)\nexcept HomeAssistantError as err:\n    if \"failed to arm\" in str(err).lower():\n        await asyncio.sleep(5)\n        await alarm.async_alarm_arm_away(code)","preventionTips":["Check the sync module state after a timeout before assuming it did not arm.","Prefer one retry with a delay over immediate repeat calls."],"tags":["home-assistant","blink","alarm-control-panel","timeout","cloud"],"backgroundTag":null,"analyzedSha":"58a3fdb3ea0538617f0a07efcfba6294de64fd59","analyzedAt":"2026-08-14T20:54:38.818Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}