await seam.thermostats.activateClimatePreset({
device_id: "52b88155-5b81-47d2-b04d-28a802bd7395",
climate_preset_key: "Eco",
});
/*
{
"action_attempt_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"action_type": "ACTIVATE_CLIMATE_PRESET",
"error": null,
"result": {},
"status": "success"
}
*/{
"action_attempt": {
"action_attempt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"action_type": "ACTIVATE_CLIMATE_PRESET",
"status": "pending",
"result": {},
"error": {
"type": "<string>",
"message": "<string>"
}
}
}Thermostats
Activate a Climate Preset
Activates a specified climate preset for a specified thermostat.
POST
/
thermostats
/
activate_climate_preset
await seam.thermostats.activateClimatePreset({
device_id: "52b88155-5b81-47d2-b04d-28a802bd7395",
climate_preset_key: "Eco",
});
/*
{
"action_attempt_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"action_type": "ACTIVATE_CLIMATE_PRESET",
"error": null,
"result": {},
"status": "success"
}
*/{
"action_attempt": {
"action_attempt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"action_type": "ACTIVATE_CLIMATE_PRESET",
"status": "pending",
"result": {},
"error": {
"type": "<string>",
"message": "<string>"
}
}
}Authorizations
pat_with_workspaceconsole_session_with_workspaceapi_key
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
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?