BrightnessTrait.BrightnessStepCommand

object BrightnessTrait.BrightnessStepCommand : CommandDescriptor


Incremental step brightness. If brightness + step is greater than 100, the brightness is set to 100. If brightness + step is less than 0, the brightness is set to 0.

See also
brightnessStep

Use this command from the trait(Brightness) method.

Summary

Nested types

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