Create a Thermostat Schedule
Last updated
Was this helpful?
Last updated
Was this helpful?
Creates a new for a specified .
Specify the device_id
of the desired thermostat and the climate_preset_key
of the desired climate preset, as well as the desired starts_at
and ends_at
times.
Code
Output
climate_preset_key
String (Required)
device_id
String (Required)
ID of the thermostat device for which you want to create a schedule.
ends_at
String (Required)
starts_at
String (Required)
is_override_allowed
Boolean
max_override_period_minutes
Number
name
String
Name of the thermostat schedule.
To learn more, see .
Key of the to use for the new thermostat schedule.
Date and time at which the new thermostat schedule ends, in format.
Date and time at which the new thermostat schedule starts, in format.
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 .
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 .