struct WeeklyScheduleTransitionStructA single transition in a thermostat schedule.
-
The start time of the schedule transition, expressed as the minutes since midnight. For example,
360means 6:00am, and1410means 11:30pm.Declaration
Swift
let transitionTime: UInt16 -
The heating setpoint applied at the transition time.
Declaration
Swift
let heatSetpoint: Int16? -
The cooling setpoint applied at the transition time.
Declaration
Swift
let coolSetpoint: Int16? -
Creates a new Struct instance using data read from the given
TraitDecoder.Throws
HomeError.parseErrorwhen parsing fails.Declaration
Swift
init(decoder: TraitDecoder) throwsParameters
decoderThe raw data representing this Struct.
-
Writes this Struct to the given
TraitEncoder. ThrowsHomeError.parseErrorif the data could not be encoded.Declaration
Swift
func encode(with encoder: TraitEncoder) throws -
Returns the field corresponding to the given field ID.
Declaration
Swift
static func structField(id: UInt32) -> (any Field)?