Create a Climate Preset

POST /thermostats/create_climate_preset ⇒ void

Creates a climate preset for a specified thermostat.

Request

await seam.thermostats.createClimatePreset({
  device_id: "123e4567-e89b-12d3-a456-426614174000",
  climate_preset_key: "occupied",
  name: "Occupied",
  fan_mode_setting: "auto",
  hvac_mode_setting: "heat_cool",
  cooling_set_point_celsius: 25,
  heating_set_point_celsius: 20,
  manual_override_allowed: true,
});

Response

// void

Authentication Methods

  • API key

  • Personal access token

Request Parameters

climate_preset_key

Type: string Required: Yes

Unique key to identify the climate preset.


cooling_set_point_celsius

Type: number Required: No

Temperature to which the thermostat should cool (in °C). See also Set Points.


cooling_set_point_fahrenheit

Type: number Required: No

Temperature to which the thermostat should cool (in °F).


device_id

Type: string Required: Yes

ID of the desired thermostat device.


fan_mode_setting

Type: string Required: No

Desired fan mode setting, such as on, auto, or circulate.


heating_set_point_celsius

Type: number Required: No

Temperature to which the thermostat should heat (in °C).


heating_set_point_fahrenheit

Type: number Required: No

Temperature to which the thermostat should heat (in °F).


hvac_mode_setting

Type: string Required: No

Desired HVAC mode setting, such as heat, cool, heat_cool, or off.


manual_override_allowed

Type: boolean Required: No

Indicates whether a person at the thermostat or using the API can change the thermostat's settings.


name

Type: string Required: No

User-friendly name to identify the climate preset.


Return Type

void

Last updated

Logo

© Seam Labs, Inc. All rights reserved.