LaundryWasherModeTrait.ChangeToModeCommand

object LaundryWasherModeTrait.ChangeToModeCommand : CommandDescriptor


Change the mode of the device's cluster instance, and set the currentMode attribute of the device's cluster instance.

See also
changeToMode

Use this command from the trait(LaundryWasherMode) method.

Summary

Nested types

The request payload for the ChangeToMode command.

Descriptor enum for this command's request fields.

The result of the completed ChangeToMode command.

Descriptor enum for this command's request fields.

Public properties

open String

Unique id corresponding to the command.

open String

Human-friendly name of the command.

Public functions

getCommandRequestFieldByName

@HomeExperimentalGenericApi
open fun getCommandRequestFieldByName(name: String): Field?

Public properties

commandId

open val commandIdString

Unique id corresponding to the command.

commandName

open val commandNameString

Human-friendly name of the command.