thermostats
Update Weekly Schedule
Updates the weekly schedule for the thermostat with the given comfort ref. The time range includes the firstTimeBlock and goes up to but does not include the lastTimeBlock. Special case: When lastTimeBlock is set to '23:59', it represents the end of day (midnight) and includes the final 30-minute time slot (23:30-00:00), allowing a full day schedule from '00:00' to '23:59'. The schedule uses 48 time slots per day (each 30 minutes), where index 0 = 00:00-00:30 and index 47 = 23:30-00:00.
patch/thermostats/{thermostatId}/schedule
Request
- Base URLhttps://api.sb.ecobee.com/api/v2
- AuthOAuth 2Client credentialsToken URL: https://api.sb.ecobee.com/api/v2/token scopes: read:thermostat, write:thermostat
Request body
Example request
{
"days": [
"monday"
],
"firstTimeBlock": "00:00",
"lastTimeBlock": "23:59",
"comfortSettingRef": "home"
}Response
Success
Example response
{
"data": {
"days": [
"monday"
],
"firstTimeBlock": "00:00",
"lastTimeBlock": "23:59",
"comfortSettingRef": "home"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.