LevelControlTrait.StopWithOnOffCommand

object LevelControlTrait.StopWithOnOffCommand : CommandDescriptor


Terminate a Move, MoveToLevel, or Step command (including their OnOff variants) currently in progress, and sets the remainingTime attribute to 0.

This command and Stop are identical.

See also
stopWithOnOff

Use this command from the trait(LevelControl) method.

Summary

Nested types

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