tuya_set_temperature
Set a Tuya smart light's color temperature to warm or cool using its device ID and a 0–100 percentage (0=warmest, 100=coolest).
Instructions
Set the color temperature of a Tuya smart light (0=warm/2700K, 100=cool/6500K)
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": {
"deviceId": "<deviceId>",
"temperature": "<temperature>"
},
"name": "tuya_set_temperature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | Yes | Tuya device ID | |
| temperature | Yes | Color temperature percentage (0=warmest, 100=coolest) |