LevelControlTrait.StepCommand

object LevelControlTrait.StepCommand : CommandDescriptor


Move a device's level a specific amount over a period of time.

If the stepSize used results in a currentLevel that is greater than the maxLevel or less than the minLevel, then the command stops when the currentLevel reaches the maxLevel or minLevel, respectively.

The command may complete in a shorter time than specified for transitionTime if the maxLevel or minLevel is reached before the transition time is over.

See also
step

Use this command from the trait(LevelControl) method.

Summary

Nested types

The request payload for the Step command.

Public properties

open String

Unique id corresponding to the command.

Public properties

commandId

open val commandIdString

Unique id corresponding to the command.