ExtendedThermostatTrait.AtomState

class ExtendedThermostatTrait.AtomState : ClusterStruct


Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

AtomState(
    targetAtomId: UInt,
    currentActorInfo: ExtendedThermostatTrait.HvacActorStruct,
    isRangeTargetSupported: Boolean
)

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

AtomState

AtomState(
    targetAtomId: UInt,
    currentActorInfo: ExtendedThermostatTrait.HvacActorStruct = HvacActorStruct(),
    isRangeTargetSupported: Boolean = false
)

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

isRangeTargetSupported

val isRangeTargetSupportedBoolean

targetAtomId

val targetAtomIdUInt