ExtendedThermostatTrait.EnhancedScheduleElement

class ExtendedThermostatTrait.EnhancedScheduleElement : ClusterStruct


Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

EnhancedScheduleElement(
    daysOfWeek: ExtendedThermostatTrait.DayOfWeek,
    transitionTime: UShort,
    atomId: UInt?,
    scheduleType: ExtendedThermostatTrait.SetPointScheduleType?,
    heatSetpoint: Short?,
    coolSetpoint: Short?,
    sensorSelection: ExtendedThermostatTrait.SensorSelection?,
    currentActorInfo: ExtendedThermostatTrait.HvacActorStruct
)

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public constructors

EnhancedScheduleElement

EnhancedScheduleElement(
    daysOfWeek: ExtendedThermostatTrait.DayOfWeek = DayOfWeek(),
    transitionTime: UShort,
    atomId: UInt? = null,
    scheduleType: ExtendedThermostatTrait.SetPointScheduleType? = null,
    heatSetpoint: Short? = null,
    coolSetpoint: Short? = null,
    sensorSelection: ExtendedThermostatTrait.SensorSelection? = null,
    currentActorInfo: ExtendedThermostatTrait.HvacActorStruct = HvacActorStruct()
)

Public functions

getDescriptor

@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

atomId

val atomId: UInt?

coolSetpoint

val coolSetpoint: Short?

heatSetpoint

val heatSetpoint: Short?

transitionTime

val transitionTime: UShort