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"
}Activates a specified climate preset for a specified thermostat.
Code:
curl --include --request POST "https://connect.getseam.com/thermostats/activate_climate_preset" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"device_id": "52b88155-5b81-47d2-b04d-28a802bd7395",
"climate_preset_key": "Eco"
}
EOFOutput:
{
"action_attempt": {
"action_attempt_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"action_type": "ACTIVATE_CLIMATE_PRESET",
"error": null,
"result": {},
"status": "success"
}
}Activates a specified climate preset for a specified thermostat.
Code:
Output:
Activates a specified climate preset for a specified thermostat.
Code:
Output:
Activates a specified climate preset for a specified thermostat.
Code:
Output:
Activates a specified climate preset for a specified thermostat.
Code:
Output:
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
Returns: action_attempt
Last updated
Was this helpful?

