Skip to main content
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",
    "result": {},
    "error": {
      "type": "<string>",
      "message": "<string>"
    }
  },
  "ok": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
climate_preset_key
string
required

Climate preset key of the climate preset that you want to activate.

device_id
string<uuid>
required

ID of the thermostat device for which you want to activate a climate preset.

Response

OK

action_attempt
object
required

Tracks the progress of this operation. Poll using the action_attempt_id.

ok
boolean
required