ExtendedThermostatTrait.SetTemperatureAndModeCommand.Request

class ExtendedThermostatTrait.SetTemperatureAndModeCommand.Request : ClusterStruct


Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(
    mode: ExtendedThermostatTrait.SelectableThermostatMode?,
    heatingTarget: Short?,
    coolingTarget: Short?,
    initiatedBy: ExtendedThermostatTrait.HvacActorMethod?
)

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

Request

Request(
    mode: ExtendedThermostatTrait.SelectableThermostatMode? = null,
    heatingTarget: Short? = null,
    coolingTarget: Short? = null,
    initiatedBy: ExtendedThermostatTrait.HvacActorMethod? = 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.

Public properties

coolingTarget

val coolingTarget: Short?

heatingTarget

val heatingTarget: Short?