ExtendedThermostatTrait.AtomSettings

class ExtendedThermostatTrait.AtomSettings : ClusterStruct


Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

AtomSettings(
    comfortAtom: ExtendedThermostatTrait.Atom,
    ecoAtom: ExtendedThermostatTrait.Atom,
    sleepAtom: ExtendedThermostatTrait.Atom,
    customAtoms: List<ExtendedThermostatTrait.Atom>,
    adHocAtomUpdate: ExtendedThermostatTrait.AdHocAtomUpdate?
)

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

AtomSettings

AtomSettings(
    comfortAtom: ExtendedThermostatTrait.Atom = Atom(),
    ecoAtom: ExtendedThermostatTrait.Atom = Atom(),
    sleepAtom: ExtendedThermostatTrait.Atom = Atom(),
    customAtoms: List<ExtendedThermostatTrait.Atom> = emptyList(),
    adHocAtomUpdate: ExtendedThermostatTrait.AdHocAtomUpdate? = null
)

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.