Update a Climate Preset
Updates a specified climate preset for a specified thermostat.
PATCH /thermostats/update_climate_preset β void
Request Parameters
climate_preset_key
String (Required)
Unique key to identify the climate preset.
device_id
String (Required)
ID of the thermostat device for which you want to update a climate preset.
manual_override_allowed
Boolean (Required)
Indicates whether a person at the thermostat can change the thermostat's settings. See Specifying Manual Override Permissions.
cooling_set_point_celsius
Number
Temperature to which the thermostat should cool (in Β°C). See also Set Points.
cooling_set_point_fahrenheit
Number
Temperature to which the thermostat should cool (in Β°F). See also Set Points.
fan_mode_setting
String
Desired fan mode setting, such as on
, auto
, or circulate
.
heating_set_point_celsius
Number
Temperature to which the thermostat should heat (in Β°C). See also Set Points.
heating_set_point_fahrenheit
Number
Temperature to which the thermostat should heat (in Β°F). See also Set Points.
hvac_mode_setting
String
Desired HVAC mode setting, such as heat
, cool
, heat_cool
, or off
.
name
String
User-friendly name to identify the climate preset.
Response
void
Examples
Update a climate preset
Specify the device_id
of the desired thermostat and the climate_preset_key
of the desired climate preset, along with the desired updated settings for the climate preset, including manual_override_allowed
.
Code
await seam.thermostats.updateClimatePreset({
device_id: "123e4567-e89b-12d3-a456-426614174000",
climate_preset_key: "occupied",
cooling_set_point_celsius: 24,
manual_override_allowed: true,
});
Output
// void
Last updated
Was this helpful?