# ColorControlTrait


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

<br />

*** ** * ** ***

Attributes for ColorControlTrait.

## 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/ColorControlTrait.Attributes : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Attributes for the ColorControl cluster. |
| `data class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.ColorCapabilitiesBitmap` The color capabilities that the device supports. |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.ColorLoopActionEnum : 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 action to take for a color loop. |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.ColorLoopDirectionEnum : 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 for an attribute on a circular scale. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.ColorLoopSetCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Cycles the device through its range of hues. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.ColorLoopSetCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the ColorLoopSet 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/ColorControlTrait.ColorLoopSetCommand.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/ColorControlTrait.ColorModeEnum : 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 attributes that determine the current color of the device. |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.DirectionEnum : 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 change an attribute whose values are arranged in a circle. |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.DriftCompensationEnum : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/ClusterEnum` How drift compensation is implemented. |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.EnhancedColorModeEnum : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/ClusterEnum` How enhanced color mode is specified. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.EnhancedMoveHueCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Change a device's enhanced hue based on a rate of movement. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.EnhancedMoveHueCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the EnhancedMoveHue 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/ColorControlTrait.EnhancedMoveHueCommand.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/ColorControlTrait.EnhancedMoveToHueAndSaturationCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Move a device from its current enhanced hue and saturation to the provided enhanced hue and saturation. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.EnhancedMoveToHueAndSaturationCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the EnhancedMoveToHueAndSaturation 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/ColorControlTrait.EnhancedMoveToHueAndSaturationCommand.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/ColorControlTrait.EnhancedMoveToHueCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Move a device from its current hue to the provided enhanced hue. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.EnhancedMoveToHueCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the EnhancedMoveToHue 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/ColorControlTrait.EnhancedMoveToHueCommand.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/ColorControlTrait.EnhancedStepHueCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Move a device's enhanced hue a specific amount over a period of time. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.EnhancedStepHueCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the EnhancedStepHue 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/ColorControlTrait.EnhancedStepHueCommand.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/ColorControlTrait.Feature` ColorControl cluster FeatureMap. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.MoveColorCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Move a device from its current color in a continuous fashion according to the rates specified. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.MoveColorCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the MoveColor 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/ColorControlTrait.MoveColorCommand.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/ColorControlTrait.MoveColorTemperatureCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Change a device's color temperature based on a rate of movement. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.MoveColorTemperatureCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the MoveColorTemperature 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/ColorControlTrait.MoveColorTemperatureCommand.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/ColorControlTrait.MoveHueCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Change a device's hue based on a rate of movement. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.MoveHueCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the MoveHue 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/ColorControlTrait.MoveHueCommand.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/ColorControlTrait.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` Move mode values. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.MoveSaturationCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Change a device's saturation based on a rate of movement. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.MoveSaturationCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the MoveSaturation 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/ColorControlTrait.MoveSaturationCommand.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/ColorControlTrait.MoveToColorCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Move a device from its current color to the color given in the `colorX` and `colorY` parameters. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.MoveToColorCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the MoveToColor 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/ColorControlTrait.MoveToColorCommand.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/ColorControlTrait.MoveToColorTemperatureCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Move a device from its current color to a new color, using the scaled inverse of the color temperature, in mireds. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.MoveToColorTemperatureCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the MoveToColorTemperature 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/ColorControlTrait.MoveToColorTemperatureCommand.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/ColorControlTrait.MoveToHueAndSaturationCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Move a device from its current hue and saturation to the provided hue and saturation. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.MoveToHueAndSaturationCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the MoveToHueAndSaturation 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/ColorControlTrait.MoveToHueAndSaturationCommand.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/ColorControlTrait.MoveToHueCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Move a device from its current hue to the provided hue. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.MoveToHueCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the MoveToHue 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/ColorControlTrait.MoveToHueCommand.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/ColorControlTrait.MoveToSaturationCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Move a device from its current saturation to the provided saturation. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.MoveToSaturationCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the MoveToSaturation 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/ColorControlTrait.MoveToSaturationCommand.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/ColorControlTrait.OptionsBitmap` Options bitmap. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.StepColorCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Move a device from its current color by the specified color step. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.StepColorCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the StepColor 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/ColorControlTrait.StepColorCommand.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/ColorControlTrait.StepColorTemperatureCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Change a device's color temperature a specific amount over a period of time. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.StepColorTemperatureCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the StepColorTemperature 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/ColorControlTrait.StepColorTemperatureCommand.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/ColorControlTrait.StepHueCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Move a device's hue a specific amount over a period of time. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.StepHueCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the StepHue 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/ColorControlTrait.StepHueCommand.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/ColorControlTrait.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 mode by which stepwise changes to the attribute are applied. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.StepSaturationCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Move a device's saturation a specific amount over a period of time. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.StepSaturationCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the StepSaturation 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/ColorControlTrait.StepSaturationCommand.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/ColorControlTrait.StopMoveStepCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Stop a `MoveTo`, Move, or Step command that is currently in process. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.StopMoveStepCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the StopMoveStep 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/ColorControlTrait.StopMoveStepCommand.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/ColorControlTrait.UpdateFlagsBitmap` Values for `ColorLoopSet`. |

| ### 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/ColorControlTrait#Id()` |

## Public properties

### Id

```
val Id: ClusterId
```