Set 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"
}curl --include --request POST "https://connect.getseam.com/thermostats/heat_cool" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"device_id": "32f974cc-e817-4bd7-b7f1-be92c80884a1",
"heating_set_point_celsius": 20,
"cooling_set_point_celsius": 25
}
EOF{
"action_attempt": {
"action_attempt_id": "b0e1d2c3-4f5e-6a7b-8c9d-0e1f2a3b4c5d",
"action_type": "SET_HVAC_MODE",
"error": null,
"result": {},
"status": "success"
}
}Request Parameters
Response
Last updated
Was this helpful?

