Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
device_id
string<uuid>
required

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

name
string
required

Name of the thermostat daily program.

periods
object[]
required

Array of thermostat daily program periods.

Response

OK

thermostat_daily_program
object
required

Represents a thermostat daily program, consisting of a set of periods, each of which has a starting time and the key that identifies the climate preset to apply at the starting time. See the thermostat_daily_program object.