shelly_light_set
Set brightness, RGB color, white level, or color temperature for a Shelly light channel, changing only the fields you provide and returning the updated state.
Instructions
Set a light/dimmer/RGB(W)/CCT channel (Gen1 /color,/light ↔ Gen2 Light/RGB/RGBW/CCT.Set).
Only the provided fields are changed. brightness 0-100, rgb three 0-255
values, temp_k white colour temperature. Returns the post-action LightState.
Audit-logged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device": "<device>"
},
"name": "shelly_light_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | No | ||
| rgb | No | ||
| white | No | ||
| device | Yes | ||
| temp_k | No | ||
| channel | No | ||
| brightness | No | ||
| transition_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||