automations_set_group
Create or update a persistent Home Assistant entity group. Specify group id, entity members, optional name, icon, and all-on logic.
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 |
|---|---|---|---|
| group_id | Yes | Bare group id (e.g. 'living_room_lights') — no 'group.' prefix. | |
| name | No | Friendly name (optional). | |
| entities | No | Full list of entity_ids to include (replaces current members). | |
| icon | No | MDI icon string (e.g. 'mdi:lightbulb-group'). | |
| all_entities | No | If True, group state = ON only when ALL members are on. | |
| add_entities | No | Add these entity_ids to existing members. | |
| remove_entities | No | Remove these entity_ids from existing members. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||