RelativeHumidityControlTrait.SetRelativeHumidityCommand.Request

class RelativeHumidityControlTrait.SetRelativeHumidityCommand.Request : ClusterStruct


The request payload for the SetRelativeHumidity command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(humidity: UInt)

Creates a request payload for the SetRelativeHumidity 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

UInt

Setpoint humidity percentage.

Public constructors

Request

Request(humidity: UInt)

Creates a request payload for the SetRelativeHumidity 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

humidity

val humidityUInt

Setpoint humidity percentage. Must fall between minRelativeHumidity maxRelativeHumidity.