ExtendedThermostatTrait.ScheduleElement

class ExtendedThermostatTrait.ScheduleElement : ClusterStruct


Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

ScheduleElement(
    daysOfWeek: ExtendedThermostatTrait.DayOfWeek,
    timeOfDay: ExtendedThermostatTrait.TimeOfDay,
    atomId: UInt,
    currentActorInfo: ExtendedThermostatTrait.HvacActorStruct,
    sensorSelection: OptionalValue<ExtendedThermostatTrait.SensorSelection>
)

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

ScheduleElement

ScheduleElement(
    daysOfWeek: ExtendedThermostatTrait.DayOfWeek = DayOfWeek(),
    timeOfDay: ExtendedThermostatTrait.TimeOfDay = TimeOfDay(),
    atomId: UInt,
    currentActorInfo: ExtendedThermostatTrait.HvacActorStruct = HvacActorStruct(),
    sensorSelection: OptionalValue<ExtendedThermostatTrait.SensorSelection> = OptionalValue.absent()
)

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.