ExtendedThermostatTrait.EcoModeSettings

class ExtendedThermostatTrait.EcoModeSettings : ClusterStruct


Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

EcoModeSettings(
    structureModeFollowEnabled: Boolean,
    ecoTemperatureHeat: ExtendedThermostatTrait.TemperatureThreshold,
    ecoTemperatureCool: ExtendedThermostatTrait.TemperatureThreshold,
    suppressAutoEcoDuration: UInt,
    suppressAutoEcoTimeout: UInt
)

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

EcoModeSettings

EcoModeSettings(
    structureModeFollowEnabled: Boolean = false,
    ecoTemperatureHeat: ExtendedThermostatTrait.TemperatureThreshold = TemperatureThreshold(),
    ecoTemperatureCool: ExtendedThermostatTrait.TemperatureThreshold = TemperatureThreshold(),
    suppressAutoEcoDuration: UInt,
    suppressAutoEcoTimeout: UInt
)

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

structureModeFollowEnabled

val structureModeFollowEnabledBoolean

suppressAutoEcoDuration

val suppressAutoEcoDurationUInt

suppressAutoEcoTimeout

val suppressAutoEcoTimeoutUInt