ColorControlTrait.StepColorCommand

object ColorControlTrait.StepColorCommand : CommandDescriptor


Move a device from its current color by the specified color step.

If the required step is larger than supported by the stepX and stepY parameters, use this command multiple times.

See also
stepColor

Use this command from the trait(ColorControl) method.

Summary

Nested types

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