ExtendedThermostatTrait.EcoModeStruct

class ExtendedThermostatTrait.EcoModeStruct : ClusterStruct


Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

EcoModeStruct(
    currentEcoTemperatureHeat: Short,
    currentEcoTemperatureCool: Short
)

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

EcoModeStruct

EcoModeStruct(
    currentEcoTemperatureHeat: Short = 0,
    currentEcoTemperatureCool: Short = 0
)

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

currentEcoTemperatureCool

val currentEcoTemperatureCoolShort

currentEcoTemperatureHeat

val currentEcoTemperatureHeatShort