set_light
Control a Philips Hue light by turning it on or off, adjusting brightness from 0 to 100, and setting color using hex or xy coordinates.
Instructions
Set a specific Hue light's state. You can control on/off, brightness (0-100), and color (hex string like #FF0000 or xy coordinates).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | No | Turn the light on (true) or off (false) | |
| light_id | Yes | The light ID (from list_lights) | |
| color_hex | No | Color as hex string (e.g. #FF0000 for red) | |
| brightness | No | Brightness percentage (0-100) | |
| color_xy_x | No | CIE x color coordinate | |
| color_xy_y | No | CIE y color coordinate |