v1

latestOpenAPI 3.0.02026-07-22201291.8 MB
/thermostats

Create a Thermostat Schedule

Creates a new thermostat schedule for a specified thermostat.

post/thermostats/schedules/create

Request body

climate_preset_keystring required

Key of the climate preset to use for the new thermostat schedule.

device_idstring required

ID of the thermostat device for which you want to create a schedule.

ends_atstring required

Date and time at which the new thermostat schedule ends, in ISO 8601 format.

is_override_allowedboolean

Indicates whether a person at the thermostat or using the API can change the thermostat's settings while the new schedule is active. See also Specifying Manual Override Permissions.

max_override_period_minutesinteger nullable

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.

namestring

Name of the thermostat schedule.

starts_atstring required

Date and time at which the new thermostat schedule starts, in ISO 8601 format.

Response

OK