await seam.thermostats.heatCool({
device_id: "32f974cc-e817-4bd7-b7f1-be92c80884a1",
heating_set_point_celsius: 20,
cooling_set_point_celsius: 25,
});
/*
{
"action_attempt_id": "b0e1d2c3-4f5e-6a7b-8c9d-0e1f2a3b4c5d",
"action_type": "SET_HVAC_MODE",
"error": null,
"result": {},
"status": "success"
}
*/{
"action_attempt": {
"action_attempt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"action_type": "SET_HVAC_MODE",
"status": "pending",
"result": {},
"error": {
"type": "<string>",
"message": "<string>"
}
}
}Set to Heat-Cool (Auto) Mode
Sets a specified thermostat to heat-cool (“auto”) mode.
await seam.thermostats.heatCool({
device_id: "32f974cc-e817-4bd7-b7f1-be92c80884a1",
heating_set_point_celsius: 20,
cooling_set_point_celsius: 25,
});
/*
{
"action_attempt_id": "b0e1d2c3-4f5e-6a7b-8c9d-0e1f2a3b4c5d",
"action_type": "SET_HVAC_MODE",
"error": null,
"result": {},
"status": "success"
}
*/{
"action_attempt": {
"action_attempt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"action_type": "SET_HVAC_MODE",
"status": "pending",
"result": {},
"error": {
"type": "<string>",
"message": "<string>"
}
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
ID of the thermostat device that you want to set to heat-cool mode.
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 in °F that you want to set for the thermostat. You must set one of the cooling_set_point parameters.
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 in °F that you want to set for the thermostat. You must set one of the heating_set_point parameters.
Response
OK
Tracks the progress of this operation. Poll using the action_attempt_id. See the action_attempt object.
Show child attributes
Show child attributes
Was this page helpful?