await seam.thermostats.off({
device_id: "5d5c3b30-5fed-47a3-9df1-ed32f32589e5",
});
/*
{
"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>"
}
}
}Thermostats
Set to Off Mode
Sets a specified thermostat to “off” mode.
POST
/
thermostats
/
off
await seam.thermostats.off({
device_id: "5d5c3b30-5fed-47a3-9df1-ed32f32589e5",
});
/*
{
"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
client_sessionpat_with_workspaceconsole_session_with_workspaceapi_key
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
ID of the thermostat device that you want to set to off mode.
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?