Set to Heat-Cool (Auto) Mode
Sets a specified thermostat to heat-cool ("auto") mode.
POST /thermostats/heat_cool โ { action_attempt }
Request Parameters
device_id
String (Required)
ID of the thermostat device that you want to set to heat-cool mode.
cooling_set_point_celsius
Number
Desired cooling set point in ยฐC. You must set one of the cooling_set_point
parameters.
cooling_set_point_fahrenheit
Number
Desired cooling set point in ยฐF. You must set one of the cooling_set_point
parameters.
heating_set_point_celsius
Number
Desired heating set point in ยฐC. You must set one of the heating_set_point
parameters.
heating_set_point_fahrenheit
Number
Desired heating set point in ยฐF. You must set one of the heating_set_point
parameters.
Response
SET_HVAC_MODE
{
action_attempt_id: [example value],
action_type: [example value],
error: [example value],
result: [example value],
status: [example value]
}
Examples
Set to heat-cool (auto) mode
Specify the desired heating set point in ยฐC or ยฐF.
Code
await seam.thermostats.heatCool({
device_id: "123e4567-e89b-12d3-a456-426614174000",
cooling_set_point_celsius: 25,
heating_set_point_celsius: 20,
});
Output
{
"action_attempt_id": "123e4567-e89b-12d3-a456-426614174000",
"status": "pending",
"action_type": "SET_HEAT_COOL"
}
Last updated
Was this helpful?