home_light
Control smart lights: switch on/off/toggle, adjust brightness, color temperature, or RGB. Use entity IDs to target lights.
Instructions
Control a light: turn on/off/toggle, set brightness (0-100%), color temperature, or RGB color
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": {
"entity_id": "<entity_id>",
"action": "<action>"
},
"name": "home_light"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| entity_id | Yes | Light entity ID, e.g. light.wohnzimmer | |
| rgb_color | No | RGB color as [r, g, b] | |
| brightness_pct | No | Brightness in percent (0-100) | |
| color_temp_kelvin | No | Color temperature in Kelvin (2000-6500) |