Set to Heat-Cool (Auto) Mode
Sets a specified thermostat 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"
}
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
Cooling set point in °C that you want to set for the thermostat. You must set one of the cooling_set_point
parameters.
cooling_set_point_fahrenheit
Number
Cooling set point in °F that you want to set for the thermostat. You must set one of the cooling_set_point
parameters.
heating_set_point_celsius
Number
Heating set point in °C that you want to set for the thermostat. You must set one of the heating_set_point
parameters.
heating_set_point_fahrenheit
Number
Heating set point in °F that you want to set for the thermostat. You must set one of the heating_set_point
parameters.
Response
Examples
Last updated
Was this helpful?