Remove a runtime entity group
automations_remove_groupRemove a runtime group created with automations_set_group. Requires confirm=True; otherwise returns a safety prompt. YAML-defined groups persist.
Instructions
Remove a group created with automations_set_group.
Without confirm=True returns a safety prompt; with confirm=True
calls the group.remove service with object_id. Groups defined in
groups.yaml come back on the next restart or YAML reload — this only
removes the runtime entity.
Returns: dict {"status": "removed", "group_id": "group.<id>"}.
Errors: returns {"error": "confirmation_required", "message": ..., "action": ...} when confirm is not True.
Limits: requires confirm=True; has no effect on a group defined in
groups.yaml beyond the next reload/restart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be True to actually remove the group. False (default) returns a safety prompt instead of removing anything. | |
| group_id | Yes | Bare group id or 'group.<id>' to remove. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||