Remove Automation
ha_config_remove_automationDelete a Home Assistant automation permanently by entity_id or unique_id. Removes obsolete automations from your smart home configuration.
Instructions
Delete a Home Assistant automation permanently.
The returned automation_id is the resolved entity_id (canonical
form, e.g. automation.morning_routine) when the registry lookup
succeeded before the delete, falling back to the input
identifier otherwise.
EXAMPLES:
Delete automation: ha_config_remove_automation("automation.old_automation")
Delete by unique_id: ha_config_remove_automation("my_unique_id")
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Wait for automation to be fully removed before returning. | |
| identifier | Yes | Automation entity_id (e.g., 'automation.old_automation') or unique_id to delete |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||