struct Matter::Cluster::Definitions::Thermostat::ThermostatScheduleTransition

Overview

This represents a single transition in a Thermostat schedule

Included Modules

Defined in:

matter/cluster/definitions/thermostat.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : Slice(UInt8)) #

[View source]

Instance Method Detail

def cool_setpoint : UInt16 | Nil #

[View source]
def cool_setpoint=(cool_setpoint : UInt16 | Nil) #

[View source]
def heat_setpoint : UInt16 | Nil #

[View source]
def heat_setpoint=(heat_setpoint : UInt16 | Nil) #

[View source]
def transition_time : UInt16 #

This field represents the start time of the schedule transition during the associated day. The time will be represented by a 16 bits unsigned integer to designate the minutes since midnight. For example, 6am will be represented by 360 minutes since midnight and 11:30pm will be represented by 1410 minutes since midnight.


[View source]
def transition_time=(transition_time : UInt16) #

This field represents the start time of the schedule transition during the associated day. The time will be represented by a 16 bits unsigned integer to designate the minutes since midnight. For example, 6am will be represented by 360 minutes since midnight and 11:30pm will be represented by 1410 minutes since midnight.


[View source]