z2m_manage_group
Manage Zigbee device groups: create, rename, remove groups, and add/remove their members for responsive multicast control.
Instructions
Create or remove groups, rename them, and add or remove device members. Groups let a single Zigbee multicast control many devices, which is far more responsive than commanding each device in turn. Removing a group does not affect the devices themselves, but fails if a member is unreachable unless force is set — with force the device keeps the group membership internally. Use z2m_list_groups to inspect groups first, and z2m_set_state to control a group once created.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Optional numeric ID for action=add. | |
| force | No | Force removal even if a member device is unreachable. | |
| group | Yes | Group friendly_name or numeric ID. | |
| action | Yes | ||
| device | No | Device for member actions. Append /ENDPOINT to target an endpoint. | |
| new_name | No | Required for action=rename. |