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.

Public functions

getCommandRequestFieldById

@HomeExperimentalApi
open fun getCommandRequestFieldById(tagId: UInt): Field?

getCommandRequestFieldByName

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

Public properties

commandId

open val commandIdString

Unique id corresponding to the command.