Activate a Climate Preset

POST /thermostats/activate_climate_preset ⇒ { action_attempt }

Activates a specified climate preset for a specified thermostat.

Request

await seam.thermostats.activateClimatePreset({
  device_id: "123e4567-e89b-12d3-a456-426614174000",
  climate_preset_key: "occupied",
});

Response

{
  "action_attempt_id": "05de2295-d1dc-4748-aae3-9931658bde20",
  "status": "pending",
  "action_type": "ACTIVATE_CLIMATE_PRESET"
}

Request Parameters

climate_preset_key

Type: string Required: Yes

Climate preset key of the desired climate preset.


device_id

Type: string Required: Yes

ID of the desired thermostat device.


Return Type

action_attempt

Last updated

Logo

© Seam Labs, Inc. All rights reserved.