{"record":{"id":"23032b171e84e0c9","repo":"home-assistant/core","slug":"failed-to-set-self-entity-id-params-error","errorCode":null,"errorMessage":"Failed to set {self.entity_id} params: {error}","messagePattern":"Failed to set (.+?) params: (.+?)","errorType":"exception","errorClass":"HomeAssistantError","httpStatus":null,"severity":"error","filePath":"homeassistant/components/airzone_cloud/entity.py","lineNumber":100,"sourceCode":"\n    @override\n    def get_airzone_value(self, key: str) -> Any:\n        \"\"\"Return Aidoo value by key.\"\"\"\n        value = None\n        if aidoo := self.coordinator.data[AZD_AIDOOS].get(self.aidoo_id):\n            value = aidoo.get(key)\n        return value\n\n    @override\n    async def _async_update_params(self, params: dict[str, Any]) -> None:\n        \"\"\"Send Aidoo parameters to Cloud API.\"\"\"\n        _LOGGER.debug(\"aidoo=%s: update_params=%s\", self.entity_id, params)\n        try:\n            await self.coordinator.airzone.api_set_aidoo_id_params(\n                self.aidoo_id, params\n            )\n        except AirzoneCloudError as error:\n            raise HomeAssistantError(\n                f\"Failed to set {self.entity_id} params: {error}\"\n            ) from error\n\n        self.coordinator.async_set_updated_data(self.coordinator.airzone.data())\n\n\nclass AirzoneGroupEntity(AirzoneEntity):\n    \"\"\"Define an Airzone Cloud Group entity.\"\"\"\n\n    def __init__(\n        self,\n        coordinator: AirzoneUpdateCoordinator,\n        group_id: str,\n        group_data: dict[str, Any],\n    ) -> None:\n        \"\"\"Initialize.\"\"\"\n        super().__init__(coordinator)\n","sourceCodeStart":82,"sourceCodeEnd":118,"githubUrl":"https://github.com/home-assistant/core/blob/58a3fdb3ea0538617f0a07efcfba6294de64fd59/homeassistant/components/airzone_cloud/entity.py#L82-L118","documentation":"HomeAssistantError from AirzoneAidooEntity._async_update_params when api_set_aidoo_id_params() fails with AirzoneCloudError. Aidoo devices are add-on modules bridging third-party AC units to Airzone Cloud; this write path backs their climate/number/select services, with entity_id and cloud error in the message.","triggerScenarios":"Any service call that writes Aidoo parameters (mode, setpoint, fan speed) while the Cloud API errors: outage, rate limit, expired token, or device id no longer present in the installation.","commonSituations":"Aidoo unlinked from the cloud account (entity stale); cloud outage mid-automation; rapid successive writes hitting cloud rate limits.","solutions":["Open the Airzone Cloud app and confirm the Aidoo still exists and accepts the same change.","Retry after the cloud service recovers; check the embedded {error} text.","If the device was removed, delete the stale entity / reload the integration.","Throttle automations to avoid hammering the cloud write API."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":"try:\n    await entity._async_update_params(params)\nexcept HomeAssistantError as err:\n    _LOGGER.error(\"Aidoo write failed: %s\", err)","preventionTips":["Verify the Aidoo still exists in the Airzone Cloud app before retrying.","Throttle automations to respect cloud rate limits.","Reload the integration after device topology changes."],"tags":["airzone-cloud","aidoo","api-write","cloud"],"backgroundTag":null,"analyzedSha":"58a3fdb3ea0538617f0a07efcfba6294de64fd59","analyzedAt":"2026-08-14T20:54:38.818Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}