Remove Automation
ha_config_remove_automationPermanently delete a Home Assistant automation by entity ID or config ID, including disabled automations, to remove obsolete or unwanted rules from your configuration.
Instructions
Delete a Home Assistant automation permanently.
A disabled automation is removed too. The returned automation_id is
the resolved entity_id, falling back to the input.
EXAMPLES:
Delete automation: ha_config_remove_automation("automation.old_automation")
Delete by config id: ha_config_remove_automation("1712345678901")
If a Claude Desktop user gets a 4-minute timeout with no result on this call, read the target back before repeating it, and tell them to wait a few seconds before clicking the manual-approve button, as clicking it too quickly is known to cause hangs in Claude Desktop. This workaround is specific to Claude Desktop.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entity_id": "<entity_id>"
},
"name": "ha_config_remove_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Wait for automation to be fully removed before returning. | |
| entity_id | Yes | The automation's entity_id (e.g. 'automation.old_automation') or its config id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||