ExtendedThermostatTrait.TemperatureSetPoint

class ExtendedThermostatTrait.TemperatureSetPoint : ClusterStruct


Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

TemperatureSetPoint(
    setpointType: ExtendedThermostatTrait.SetPointType,
    dayOfWeek: UInt,
    secondsInDay: UInt,
    heatingTarget: Short?,
    coolingTarget: Short?,
    currentActorInfo: ExtendedThermostatTrait.HvacActorStruct,
    originalActorInfo: 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

TemperatureSetPoint

TemperatureSetPoint(
    setpointType: ExtendedThermostatTrait.SetPointType = SetPointType.Unspecified,
    dayOfWeek: UInt,
    secondsInDay: UInt,
    heatingTarget: Short? = null,
    coolingTarget: Short? = null,
    currentActorInfo: ExtendedThermostatTrait.HvacActorStruct = HvacActorStruct(),
    originalActorInfo: 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

coolingTarget

val coolingTargetShort?

dayOfWeek

val dayOfWeekUInt

heatingTarget

val heatingTargetShort?

secondsInDay

val secondsInDayUInt