Перейти до основного вмісту

Отримайте всі розклади

GET 

/schedules

Отримати розклади

Responses

Розклад існує

Schema

    successbooleanrequired

    Прапорець, який показує, чи був запит успішним

    schedules

    object[]

    Список розкладів

  • Array [

  • activeboolean

    Is schedule active

    type

    string

    required

    Possible values: [thermostat, actionCall, sceneInvoke]

    Schedule type

    schedule_periods

    object[]

    Array of schedule periods

  • Array [

  • daystring

    День

    Possible values: [monday, tuesday, wednesday, thursday, friday, saturday, sunday]

    timepoints

    object[]

    .schedules.period.thermostat.timepoints.description

  • Array [

  • timestring

    .schedules.period.timepoints.time.description

    Example: 12:00
    setpointnumber

    .schedules.period.thermostat.timepoints.setpoint.description

    Example: 20.5
    modestring

    .schedules.period.thermostat.timepoints.mode.description

    Possible values: [Off, Heat, Cool, Auto]

    Example: Heat
  • ]

  • ]

  • target_typestring

    Possible values: [device, room]

    target_idsinteger[]

    IDs of targets

    period_typestring

    Schedule repeat period

    Possible values: [yearly, monthly, weekly, daily, hourly, interval]

  • ]