control_thermostat
Set target temperature, change mode between heat, cool, auto, and off, and control plug power for combined Wyze thermostat devices.
Instructions
Control a Wyze thermostat. For combined thermostat+plug devices, "turn_on"/"turn_off" controls the plug (heater power). Temperature actions control the thermostat.
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>",
"action": "<action>"
},
"name": "control_thermostat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Thermostat mode (required for set_mode) | |
| action | Yes | Action to perform. turn_on/turn_off only work for combined devices. | |
| deviceId | Yes | Device ID (MAC) or nickname of the thermostat | |
| temperature | No | Temperature setpoint (required for set_heat and set_cool) |