SimplifiedThermostatTrait.SetSystemModeCommand.Request

class SimplifiedThermostatTrait.SetSystemModeCommand.Request : ClusterStruct


The request payload for the SetSystemMode command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Creates a request payload for the SetSystemMode command.

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

SimplifiedThermostatTrait.SystemModeEnum

The mode to set the system to.

Public constructors

Request

Request(
    systemMode: SimplifiedThermostatTrait.SystemModeEnum = SystemModeEnum.Unspecified
)

Creates a request payload for the SetSystemMode command.

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

systemMode

val systemModeSimplifiedThermostatTrait.SystemModeEnum

The mode to set the system to.