set_group_action
Control all lights in a group at once—set brightness, color, effects, or recall a scene with a single command.
Instructions
Control all lights in a group simultaneously.
Args: group_id: Numeric group ID. on: True to turn on, False to turn off. brightness: Brightness 1–254. hue: Hue 0–65535. saturation: Saturation 0–254. color_temp: Colour temperature in mireds (153–500). xy: CIE xy colour as [x, y]. transition_time: Transition duration in 1/10ths of a second. alert: "none", "select", or "lselect". effect: "none" or "colorloop". scene: Scene ID to recall (within this group).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | No | ||
| xy | No | ||
| hue | No | ||
| alert | No | ||
| scene | No | ||
| effect | No | ||
| group_id | Yes | ||
| brightness | No | ||
| color_temp | No | ||
| saturation | No | ||
| transition_time | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |