ColorControlTrait.MoveColorCommand

object ColorControlTrait.MoveColorCommand : CommandDescriptor


Move a device from its current color in a continuous fashion according to the rates specified.

This command will continue to process until the target color for the next step cannot be implemented on the device.

Setting both rateX and rateY to 0 stops any previously received command of the ColorControl cluster.

See also
moveColor

Use this command from the trait(ColorControl) method.

Summary

Nested types

The request payload for the MoveColor 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.