LevelControlTrait.MoveToLevelWithOnOffCommand

object LevelControlTrait.MoveToLevelWithOnOffCommand : CommandDescriptor


Move a device from its current level to the provided level and toggle the onOff attribute of the OnOff cluster depending on the end value of currentLevel.

If this command sets the currentLevel above the minLevel, the onOff attribute is set to true.

If this command sets the currentLevel to the minLevel, the onOff attribute is set to false.

See also
moveToLevelWithOnOff

Use this command from the trait(LevelControl) method.

Summary

Nested types

The request payload for the MoveToLevelWithOnOff command.

Public properties

open String

Unique id corresponding to the command.

Public properties

commandId

open val commandIdString

Unique id corresponding to the command.