Activate a Climate Preset

Activates a specified climate preset for a specified thermostat.

Activates a specified climate preset for a specified thermostat.

Code

await seam.thermostats.activateClimatePreset({
  device_id: "52b88155-5b81-47d2-b04d-28a802bd7395",
  climate_preset_key: "Eco",
});

Output

{
  "action_attempt_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "action_type": "ACTIVATE_CLIMATE_PRESET",
  "error": null,
  "result": {},
  "status": "success"
}
Authentication Methods
  • API key

  • Personal access token Must also include the seam-workspace header in the request.

To learn more, see Authentication.

Request Parameters

climate_preset_key String (Required)

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


device_id String (Required)

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


Response

action_attempt

{
  "action_attempt_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "action_type": "ACTIVATE_CLIMATE_PRESET",
  "error": null,
  "result": {},
  "status": "success"
}

Last updated

Was this helpful?