# LevelControlTrait


```
@Generated(value = ["GoogleHomePlatformCodegen"])
object LevelControlTrait
```

<br />

*** ** * ** ***

Attributes for LevelControlTrait.

## Summary

| ### Nested types |
|---|
| `@https://developers.home.google.com/reference/kotlin/javax/annotation/processing/Generated(value = ["GoogleHomePlatformCodegen"]) interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.Attributes : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Attributes for the LevelControl cluster. |
| `data class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.Feature` LevelControl cluster FeatureMap. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.MoveCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Change a device's level based on a rate of movement. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.MoveCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the Move command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.MoveCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.MoveModeEnum : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/ClusterEnum` The direction in which to move a device's level. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.MoveToClosestFrequencyCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Change a device's current frequency. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.MoveToClosestFrequencyCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the MoveToClosestFrequency command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.MoveToClosestFrequencyCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.MoveToLevelCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Move a device from its current level to the provided level. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.MoveToLevelCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the MoveToLevel command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.MoveToLevelCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.MoveToLevelWithOnOffCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Move a device from its current level to the provided level and toggle the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OnOffTrait.Attributes#onOff()` attribute of the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OnOff` cluster depending on the end value of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.Attributes#currentLevel()`. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.MoveToLevelWithOnOffCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the MoveToLevelWithOnOff command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.MoveToLevelWithOnOffCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.MoveWithOnOffCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Move a device's level based on a rate of movement and toggle the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OnOffTrait.Attributes#onOff()` attribute of the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OnOff` cluster depending on the end value of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.Attributes#currentLevel()`. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.MoveWithOnOffCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the MoveWithOnOff command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.MoveWithOnOffCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `data class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.OptionsBitmap` Flags for LevelControl options. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.StepCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Move a device's level a specific amount over a period of time. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.StepCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the Step command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.StepCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.StepModeEnum : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/ClusterEnum` The direction in which to step a device's level. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.StepWithOnOffCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Move a device's level a specific amount over a period of time and toggle the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OnOffTrait.Attributes#onOff()` attribute of the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OnOff` cluster depending on the end value of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.Attributes#currentLevel()`. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.StepWithOnOffCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the StepWithOnOff command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.StepWithOnOffCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.StopCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Terminate a `Move`, `MoveToLevel`, or `Step` command (including their `OnOff` variants) currently in progress, and sets the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.Attributes#remainingTime()` attribute to `0`. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.StopCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the Stop command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.StopCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.StopWithOnOffCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Terminate a `Move`, `MoveToLevel`, or `Step` command (including their `OnOff` variants) currently in progress, and sets the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.Attributes#remainingTime()` attribute to `0`. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.StopWithOnOffCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the StopWithOnOff command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.StopWithOnOffCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |

| ### Public properties |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/ClusterId` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait#Id()` |

## Public properties

### Id

```
val Id: ClusterId
```