Remove Category
ha_config_remove_categoryDelete a Home Assistant category from a specified scope and remove its assignment from all entities in that scope. This irreversible cleanup helps remove unused categories.
Instructions
Delete a Home Assistant category.
Removes the category from the category registry for the given scope. This will also remove the category assignment from all entities in that scope.
EXAMPLES:
Delete category: ha_config_remove_category("automation", "my_category_id")
Use ha_config_get_category() to find category IDs.
WARNING: Deleting a category will remove it from all assigned entities. This action cannot be undone.
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 |
|---|---|---|---|
| scope | Yes | Domain scope for the category (e.g., 'automation', 'script', 'scene', 'helpers'). | |
| category_id | Yes | ID of the category to delete |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||