ThermostatTrait.WeeklyScheduleTransitionStruct

class ThermostatTrait.WeeklyScheduleTransitionStruct


A single transition in a thermostat schedule.

Summary

Public constructors

WeeklyScheduleTransitionStruct(
    transitionTime: UShort,
    heatSetpoint: Short?,
    coolSetpoint: Short?
)

Creates the WeeklyScheduleTransitionStruct class.

Public properties

Short?

The cooling setpoint applied at the transition time.

Short?

The heating setpoint applied at the transition time.

UShort

The start time of the schedule transition, expressed as the minutes since midnight.

Public constructors

WeeklyScheduleTransitionStruct

WeeklyScheduleTransitionStruct(
    transitionTime: UShort,
    heatSetpoint: Short? = null,
    coolSetpoint: Short? = null
)

Creates the WeeklyScheduleTransitionStruct class.

Public properties

coolSetpoint

val coolSetpointShort?

The cooling setpoint applied at the transition time.

heatSetpoint

val heatSetpointShort?

The heating setpoint applied at the transition time.

transitionTime

val transitionTimeUShort

The start time of the schedule transition, expressed as the minutes since midnight. For example, 360 means 6:00am, and 1410 means 11:30pm.