set_lights
Control Philips Hue lights by turning them on/off or adjusting brightness, color, or white tone for a light, room, zone, or all. Adjusting brightness, color, or white tone also turns them on.
Instructions
Turn lights on or off, or change their brightness, color or white tone.
Setting brightness, a color or a white tone also turns the lights on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | No | ||
| target | Yes | A light, room or zone name, or "all" for every light. | |
| color_hex | No | A color like #ff8800. Convert color names to hex yourself. | |
| brightness | No | Percent. Use on=false, not 0, to turn off. | |
| target_type | No | Only needed when a light and a room share a name. | |
| brightness_change | No | Relative change in percentage points, for lights that are on. | |
| transition_seconds | No | Fade to the new state over this many seconds (at most 100 minutes; set_effect sunset dims to off more slowly). | |
| color_temperature_kelvin | No | White tone: 2200 candle, 2700 warm, 4000 neutral, 6500 daylight. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||