automations_set_group
Create or update a Home Assistant entity group. Define icon, name, and member entities; add or remove entities to modify an existing group.
Instructions
Create or update a Home Assistant entity group.
Wraps the group.set service. Group is stored in groups.yaml and persists restarts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | MDI icon string (e.g. 'mdi:lightbulb-group'). | |
| name | No | Friendly name (optional). | |
| entities | No | Full list of entity_ids to include (replaces current members). | |
| group_id | Yes | Bare group id (e.g. 'living_room_lights') — no 'group.' prefix. | |
| add_entities | No | Add these entity_ids to existing members. | |
| all_entities | No | If True, group state = ON only when ALL members are on. | |
| remove_entities | No | Remove these entity_ids from existing members. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||