Update a Thermostat Schedule
Updates a specified thermostat schedule.
Updates a specified thermostat schedule.
Code
await seam.thermostats.schedules.update({
thermostat_schedule_id: "f29b8f4d-ef6e-4219-96e5-16fb2151ec6c",
name: "Jane's Stay",
climate_preset_key: "Occupied",
max_override_period_minutes: 90,
starts_at: "2025-06-20T03:24:25.000Z",
ends_at: "2025-06-22T06:04:21.000Z",
is_override_allowed: true,
});
Output
// void
Request Parameters
thermostat_schedule_id
String (Required)
ID of the thermostat schedule that you want to update.
climate_preset_key
String
Key of the climate preset to use for the thermostat schedule.
ends_at
String
Date and time at which the thermostat schedule ends, in ISO 8601 format.
is_override_allowed
Boolean
Indicates whether a person at the thermostat or using the API can change the thermostat's settings while the schedule is active. See also Specifying Manual Override Permissions.
max_override_period_minutes
Number
Number of minutes for which a person at the thermostat or using the API can change the thermostat's settings after the activation of the scheduled climate preset. See also Specifying Manual Override Permissions.
name
String
Name of the thermostat schedule.
starts_at
String
Date and time at which the thermostat schedule starts, in ISO 8601 format.
Response
void
Last updated
Was this helpful?