{"record":{"id":"3e9205a3ff57fcf6","repo":"home-assistant/core","slug":"unknown-issue-id","errorCode":null,"errorMessage":"unknown_issue_id","messagePattern":"unknown_issue_id","errorType":"exception","errorClass":"HomeAssistantError","httpStatus":null,"severity":"warning","filePath":"homeassistant/components/anthropic/repairs.py","lineNumber":211,"sourceCode":"\n    def _format_subentry_type(self, subentry_type: str) -> str:\n        \"\"\"Return a user-friendly subentry type label.\"\"\"\n        if subentry_type == \"conversation\":\n            return \"Conversation agent\"\n        if subentry_type in (\"ai_task\", \"ai_task_data\"):\n            return \"AI task\"\n        return subentry_type\n\n\nasync def async_create_fix_flow(\n    hass: HomeAssistant,\n    issue_id: str,\n    data: dict[str, str | int | float | None] | None,\n) -> RepairsFlow:\n    \"\"\"Create flow.\"\"\"\n    if issue_id == \"model_deprecated\":\n        return ModelDeprecatedRepairFlow()\n    raise HomeAssistantError(\n        translation_domain=DOMAIN, translation_key=\"unknown_issue_id\"\n    )\n","sourceCodeStart":193,"sourceCodeEnd":214,"githubUrl":"https://github.com/home-assistant/core/blob/58a3fdb3ea0538617f0a07efcfba6294de64fd59/homeassistant/components/anthropic/repairs.py#L193-L214","documentation":"A HomeAssistantError with translation key 'unknown_issue_id' raised in async_create_fix_flow when the repairs subsystem asks the Anthropic integration to create a fix flow for an issue_id other than the one it knows ('model_deprecated'). The integration is only registered to repair deprecated-model issues; any other id is rejected.","triggerScenarios":"Home Assistant core calling async_create_fix_flow(hass, issue_id, ...) with an issue id not matching 'model_deprecated' — typically an issue registered by an older/newer version of the integration, or a manually created custom repair issue routed to this domain.","commonSituations":"Version skew after upgrading/downgrading the integration where issue ids changed; leftover repair issues in .storage from a previous release.","solutions":["Update Home Assistant core so the integration registering the issue and the one repairing it match","Ignore/dismiss the orphaned repair item if it refers to a no-longer-existing issue","Restart Home Assistant to re-sync registered repairs"],"exampleFix":null,"handlingStrategy":"validation","validationCode":"SUPPORTED_ISSUE_IDS = {\"model_deprecated\"}\n\ndef issue_supported(issue_id: str) -> bool:\n    return issue_id in SUPPORTED_ISSUE_IDS","typeGuard":null,"tryCatchPattern":"if issue_id == \"model_deprecated\":\n    return ModelDeprecatedRepairFlow()\nraise HomeAssistantError(translation_domain=DOMAIN, translation_key=\"unknown_issue_id\")","preventionTips":["Keep issue registry ids in sync with async_create_fix_flow's accepted ids when authoring repairs","Register repairs only for issues your integration creates"],"tags":["home-assistant","anthropic","repairs","version-skew"],"backgroundTag":null,"analyzedSha":"58a3fdb3ea0538617f0a07efcfba6294de64fd59","analyzedAt":"2026-08-14T20:54:38.818Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}