# ColorControlTrait.Attributes


```
@Generated(value = ["GoogleHomePlatformCodegen"])
interface ColorControlTrait.Attributes : ClusterStruct
```

<br />

Known direct subclasses [ColorControl](https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControl)

|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControl` | API for the ColorControl trait. |

*** ** * ** ***

Attributes for the ColorControl cluster.

## Summary

| ### Public functions |
|---|---|
| `open https://developers.home.google.com/reference/kotlin/com/google/home/StructDescriptor` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#getDescriptor()()` Returns the descriptor for the struct. |
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html?` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#getFieldValueById(kotlin.UInt)(tagId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html)` Returns the value of the field for the given tag ID. |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#acceptedCommandList()` A list of client-generated commands which are supported by this cluster server instance. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#attributeList()` A list of the attribute IDs of the attributes supported by the cluster instance. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#clusterRevision()` The revision of the server cluster specification supported by the cluster instance. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.ColorCapabilitiesBitmap?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorCapabilities()` The color capabilities that the device supports. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorLoopActive()` The current active status of the color loop. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorLoopDirection()` The current direction of the color loop. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorLoopStartEnhancedHue()` The value of the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#enhancedCurrentHue()` attribute from which to start the color loop. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorLoopStoredEnhancedHue()` The value of the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#enhancedCurrentHue()` attribute before the color loop was started. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorLoopTime()` The number of seconds it takes to perform a full color loop. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.ColorModeEnum?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorMode()` The attributes that are currently determining the color of the device. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorPointBIntensity()` A representation of the relative intensity of the blue color point as defined in the Dimming Light Curve in the BallastConfiguration cluster, normalized such that the color point with the highest relative intensity contains the value `0xfe`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorPointBx()` The normalized chromaticity value `x` for this primary, as defined in the CIE xyY Color Space, of the current blue color point of the device. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorPointBy()` The normalized chromaticity value `y` for this primary, as defined in the CIE xyY Color Space, of the current blue color point of the device. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorPointGIntensity()` A representation of the relative intensity of the green color point as defined in the Dimming Light Curve in the BallastConfiguration cluster, normalized such that the color point with the highest relative intensity contains the value `0xfe`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorPointGx()` The normalized chromaticity value `x` for this primary, as defined in the CIE xyY Color Space, of the current green color point of the device. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorPointGy()` The normalized chromaticity value `y` for this primary, as defined in the CIE xyY Color Space, of the current green color point of the device. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorPointRIntensity()` A representation of the relative intensity of the red color point as defined in the Dimming Light Curve in the BallastConfiguration cluster, normalized such that the color point with the highest relative intensity contains the value `0xfe`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorPointRx()` The normalized chromaticity value `x` for this primary, as defined in the CIE xyY Color Space, of the current red color point of the device. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorPointRy()` The normalized chromaticity value `y` for this primary, as defined in the CIE xyY Color Space, of the current red color point of the device. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorTempPhysicalMaxMireds()` The maximum mired value supported by the device. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorTempPhysicalMinMireds()` The minimum mired value supported by the device. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorTemperatureMireds()` A scaled inverse of the current value of the color temperature, in mireds. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#compensationText()` A textual indication of what mechanism, if any, is in use to compensate for color or intensity drift over time. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#coupleColorTempToLevelMinMireds()` Specifies a lower bound on the value of the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorTemperatureMireds()` attribute for the purposes of coupling the `colorTemperatureMireds` attribute to the currentLevel attribute when the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.OptionsBitmap#coupleColorTempToLevel()` bit of the `options` attribute of the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControl` cluster is equal to 1. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#currentHue()` The current hue value of the light. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#currentSaturation()` The current saturation value of the light. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#currentX()` The current value of the normalized chromaticity value `x`, as defined in the CIE xyY Color Space. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#currentY()` The current value of the normalized chromaticity value `y`, as defined in the CIE xyY Color Space. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.DriftCompensationEnum?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#driftCompensation()` The mechanism that is in use for compensation for color/intensity drift over time. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.EnhancedColorModeEnum?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#enhancedColorMode()` The attributes that are currently determining the color of the device. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#enhancedCurrentHue()` Represents non-equidistant steps along the CIE 1931 color triangle. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Feature` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#featureMap()` Whether the server supports zero or more optional cluster features. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#generatedCommandList()` A list of server-generated commands (server to client) which are supported by this cluster server instance. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#numberOfPrimaries()` The number of color primaries implemented on the device. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.OptionsBitmap?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#options()` A bitmap that determines the default behavior of some cluster commands. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#primary1Intensity()` A representation of the maximum intensity of this primary as defined in the Dimming Light Curve in the BallastConfiguration cluster, normalized such that the primary with the highest maximum intensity contains the value `0xfe`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#primary1X()` The normalized chromaticity value `x` for this primary, as defined in the CIE xyY Color Space. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#primary1Y()` The normalized chromaticity value `y` for this primary, as defined in the CIE xyY Color Space. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#primary2Intensity()` A representation of the maximum intensity of this primary as defined in the Dimming Light Curve in the BallastConfiguration cluster, normalized such that the primary with the highest maximum intensity contains the value `0xfe`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#primary2X()` The normalized chromaticity value `x` for this primary, as defined in the CIE xyY Color Space. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#primary2Y()` The normalized chromaticity value `y` for this primary, as defined in the CIE xyY Color Space. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#primary3Intensity()` A representation of the maximum intensity of this primary as defined in the Dimming Light Curve in the BallastConfiguration cluster, normalized such that the primary with the highest maximum intensity contains the value `0xfe`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#primary3X()` The normalized chromaticity value `x` for this primary, as defined in the CIE xyY Color Space. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#primary3Y()` The normalized chromaticity value `y` for this primary, as defined in the CIE xyY Color Space. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#primary4Intensity()` A representation of the maximum intensity of this primary as defined in the Dimming Light Curve in the BallastConfiguration cluster, normalized such that the primary with the highest maximum intensity contains the value `0xfe`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#primary4X()` The normalized chromaticity value `x` for this primary, as defined in the CIE xyY Color Space. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#primary4Y()` The normalized chromaticity value `y` for this primary, as defined in the CIE xyY Color Space. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#primary5Intensity()` A representation of the maximum intensity of this primary as defined in the Dimming Light Curve in the BallastConfiguration cluster, normalized such that the primary with the highest maximum intensity contains the value `0xfe`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#primary5X()` The normalized chromaticity value `x` for this primary, as defined in the CIE xyY Color Space. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#primary5Y()` The normalized chromaticity value `y` for this primary, as defined in the CIE xyY Color Space. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#primary6Intensity()` A representation of the maximum intensity of this primary as defined in the Dimming Light Curve in the BallastConfiguration cluster, normalized such that the primary with the highest maximum intensity contains the value `0xfe`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#primary6X()` The normalized chromaticity value `x` for this primary, as defined in the CIE xyY Color Space. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#primary6Y()` The normalized chromaticity value `y` for this primary, as defined in the CIE xyY Color Space. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#remainingTime()` The time remaining (in 0.1 seconds) until the current command is complete. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#startUpColorTemperatureMireds()` The desired startup color temperature value when a device is supplied with power. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#whitePointX()` The normalized chromaticity value `x` for this primary, as defined in the CIE xyY Color Space, of the current white point of the device. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#whitePointY()` The normalized chromaticity value `y` for this primary, as defined in the CIE xyY Color Space, of the current white point of the device. |

## Public functions

### getDescriptor

```
@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor
```

Returns the descriptor for the struct.

### getFieldValueById

```
@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?
```

Returns the value of the field for the given tag ID.

## Public properties

### acceptedCommandList

```
val acceptedCommandList: List<UInt>
```

A list of client-generated commands which are supported by this cluster server instance.

### attributeList

```
val attributeList: List<UInt>
```

A list of the attribute IDs of the attributes supported by the cluster instance.

### clusterRevision

```
val clusterRevision: UShort
```

The revision of the server cluster specification supported by the cluster instance.

### colorCapabilities

```
val colorCapabilities: ColorControlTrait.ColorCapabilitiesBitmap?
```

The color capabilities that the device supports. This is a bitmap that corresponds to the values in ColorControlTrait.ColorCapabilities.

**Access type:** Read

### colorLoopActive

```
val colorLoopActive: UByte?
```

The current active status of the color loop. A value of `1` indicates an active color loop. A value of `0` indicates an inactive color loop.

**Access type:** Read

### colorLoopDirection

```
val colorLoopDirection: UByte?
```

The current direction of the color loop. If the value is `1`, the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#enhancedCurrentHue()` attribute is incremented. If the value is `0`, the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#enhancedCurrentHue()` attribute is decremented.

**Access type:** Read

### colorLoopStartEnhancedHue

```
val colorLoopStartEnhancedHue: UShort?
```

The value of the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#enhancedCurrentHue()` attribute from which to start the color loop.

**Access type:** Read

### colorLoopStoredEnhancedHue

```
val colorLoopStoredEnhancedHue: UShort?
```

The value of the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#enhancedCurrentHue()` attribute before the color loop was started. `enhancedCurrentHue` is changed back to this value once the color loop is complete.

**Access type:** Read

### colorLoopTime

```
val colorLoopTime: UShort?
```

The number of seconds it takes to perform a full color loop.

**Access type:** Read

### colorMode

```
val colorMode: ColorControlTrait.ColorModeEnum?
```

The attributes that are currently determining the color of the device. Must be one of the values in the ColorControlTrait.ColorMode enum.

**Access type:** Read

### colorPointBIntensity

```
val colorPointBIntensity: UByte?
```

A representation of the relative intensity of the blue color point as defined in the Dimming Light Curve in the BallastConfiguration cluster, normalized such that the color point with the highest relative intensity contains the value `0xfe`. If null, this value is invalid.

**Access type:** Read

### colorPointBx

```
val colorPointBx: UShort?
```

The normalized chromaticity value `x` for this primary, as defined in the CIE xyY Color Space, of the current blue color point of the device.

**Access type:** Read

### colorPointBy

```
val colorPointBy: UShort?
```

The normalized chromaticity value `y` for this primary, as defined in the CIE xyY Color Space, of the current blue color point of the device.

**Access type:** Read

### colorPointGIntensity

```
val colorPointGIntensity: UByte?
```

A representation of the relative intensity of the green color point as defined in the Dimming Light Curve in the BallastConfiguration cluster, normalized such that the color point with the highest relative intensity contains the value `0xfe`. If null, this value is invalid.

**Access type:** Read

### colorPointGx

```
val colorPointGx: UShort?
```

The normalized chromaticity value `x` for this primary, as defined in the CIE xyY Color Space, of the current green color point of the device.

**Access type:** Read

### colorPointGy

```
val colorPointGy: UShort?
```

The normalized chromaticity value `y` for this primary, as defined in the CIE xyY Color Space, of the current green color point of the device.

**Access type:** Read

### colorPointRIntensity

```
val colorPointRIntensity: UByte?
```

A representation of the relative intensity of the red color point as defined in the Dimming Light Curve in the BallastConfiguration cluster, normalized such that the color point with the highest relative intensity contains the value `0xfe`. If null, this value is invalid.

**Access type:** Read

### colorPointRx

```
val colorPointRx: UShort?
```

The normalized chromaticity value `x` for this primary, as defined in the CIE xyY Color Space, of the current red color point of the device.

**Access type:** Read

### colorPointRy

```
val colorPointRy: UShort?
```

The normalized chromaticity value `y` for this primary, as defined in the CIE xyY Color Space, of the current red color point of the device.

**Access type:** Read

### colorTempPhysicalMaxMireds

```
val colorTempPhysicalMaxMireds: UShort?
```

The maximum mired value supported by the device. This value must be greater than or equal to `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorTemperatureMireds()`.

**Access type:** Read

### colorTempPhysicalMinMireds

```
val colorTempPhysicalMinMireds: UShort?
```

The minimum mired value supported by the device. This value must be less than or equal to `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorTemperatureMireds()`.

**Access type:** Read

### colorTemperatureMireds

```
val colorTemperatureMireds: UShort?
```

A scaled inverse of the current value of the color temperature, in mireds.

**Access type:** Read

### compensationText

```
val compensationText: String?
```

A textual indication of what mechanism, if any, is in use to compensate for color or intensity drift over time.

**Access type:** Read

### coupleColorTempToLevelMinMireds

```
val coupleColorTempToLevelMinMireds: UShort?
```

Specifies a lower bound on the value of the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorTemperatureMireds()` attribute for the purposes of coupling the `colorTemperatureMireds` attribute to the currentLevel attribute when the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.OptionsBitmap#coupleColorTempToLevel()` bit of the `options` attribute of the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControl` cluster is equal to 1.

**Access type:** Read

### currentHue

```
val currentHue: UByte?
```

The current hue value of the light. The valid range of values is `0` to `254`.

**Access type:** Read

### currentSaturation

```
val currentSaturation: UByte?
```

The current saturation value of the light. The valid range of values is `0` to `254`.

**Access type:** Read

### currentX

```
val currentX: UShort?
```

The current value of the normalized chromaticity value `x`, as defined in the CIE xyY Color Space.

**Access type:** Read

### currentY

```
val currentY: UShort?
```

The current value of the normalized chromaticity value `y`, as defined in the CIE xyY Color Space.

**Access type:** Read

### driftCompensation

```
val driftCompensation: ColorControlTrait.DriftCompensationEnum?
```

The mechanism that is in use for compensation for color/intensity drift over time.

**Access type:** Read

### enhancedColorMode

```
val enhancedColorMode: ColorControlTrait.EnhancedColorModeEnum?
```

The attributes that are currently determining the color of the device.

**Access type:** Read

### enhancedCurrentHue

```
val enhancedCurrentHue: UShort?
```

Represents non-equidistant steps along the CIE 1931 color triangle.

**Access type:** Read

### featureMap

```
val featureMap: ColorControlTrait.Feature
```

Whether the server supports zero or more optional cluster features. A cluster feature is a set of cluster elements that are mandatory or optional for a defined feature of the cluster. If a cluster feature is supported by the cluster instance, then the corresponding bit is set to 1, otherwise the bit is set to 0 (zero).

### generatedCommandList

```
val generatedCommandList: List<UInt>
```

A list of server-generated commands (server to client) which are supported by this cluster server instance.

### numberOfPrimaries

```
val numberOfPrimaries: UByte?
```

The number of color primaries implemented on the device. If null, the number of primaries is unknown.

**Access type:** Read

### options

```
val options: ColorControlTrait.OptionsBitmap?
```

A bitmap that determines the default behavior of some cluster commands. This should only be changed during commissioning. A `ColorControl` command does not continue beyond `options` processing if all of the following are true:

- The `OnOff` cluster exists on the same endpoint as this cluster.
- The onOff attribute of the `OnOff` cluster on this endpoint is false.
- The value of the `executeIfOff` bit is `0`.

This bitmap has the following valid bits:

<!-- -->

- Bit 0 --- `ExecuteIfOff`

<br />

**Access type:** Write

### primary1Intensity

```
val primary1Intensity: UByte?
```

A representation of the maximum intensity of this primary as defined in the Dimming Light Curve in the BallastConfiguration cluster, normalized such that the primary with the highest maximum intensity contains the value `0xfe`. If null, this primary is not available.

**Access type:** Read

### primary1X

```
val primary1X: UShort?
```

The normalized chromaticity value `x` for this primary, as defined in the CIE xyY Color Space.

**Access type:** Read

### primary1Y

```
val primary1Y: UShort?
```

The normalized chromaticity value `y` for this primary, as defined in the CIE xyY Color Space.

**Access type:** Read

### primary2Intensity

```
val primary2Intensity: UByte?
```

A representation of the maximum intensity of this primary as defined in the Dimming Light Curve in the BallastConfiguration cluster, normalized such that the primary with the highest maximum intensity contains the value `0xfe`. If null, this primary is not available.

**Access type:** Read

### primary2X

```
val primary2X: UShort?
```

The normalized chromaticity value `x` for this primary, as defined in the CIE xyY Color Space.

**Access type:** Read

### primary2Y

```
val primary2Y: UShort?
```

The normalized chromaticity value `y` for this primary, as defined in the CIE xyY Color Space.

**Access type:** Read

### primary3Intensity

```
val primary3Intensity: UByte?
```

A representation of the maximum intensity of this primary as defined in the Dimming Light Curve in the BallastConfiguration cluster, normalized such that the primary with the highest maximum intensity contains the value `0xfe`. If null, this primary is not available.

**Access type:** Read

### primary3X

```
val primary3X: UShort?
```

The normalized chromaticity value `x` for this primary, as defined in the CIE xyY Color Space.

**Access type:** Read

### primary3Y

```
val primary3Y: UShort?
```

The normalized chromaticity value `y` for this primary, as defined in the CIE xyY Color Space.

**Access type:** Read

### primary4Intensity

```
val primary4Intensity: UByte?
```

A representation of the maximum intensity of this primary as defined in the Dimming Light Curve in the BallastConfiguration cluster, normalized such that the primary with the highest maximum intensity contains the value `0xfe`. If null, this primary is not available.

**Access type:** Read

### primary4X

```
val primary4X: UShort?
```

The normalized chromaticity value `x` for this primary, as defined in the CIE xyY Color Space.

**Access type:** Read

### primary4Y

```
val primary4Y: UShort?
```

The normalized chromaticity value `y` for this primary, as defined in the CIE xyY Color Space.

**Access type:** Read

### primary5Intensity

```
val primary5Intensity: UByte?
```

A representation of the maximum intensity of this primary as defined in the Dimming Light Curve in the BallastConfiguration cluster, normalized such that the primary with the highest maximum intensity contains the value `0xfe`. If null, this primary is not available.

**Access type:** Read

### primary5X

```
val primary5X: UShort?
```

The normalized chromaticity value `x` for this primary, as defined in the CIE xyY Color Space.

**Access type:** Read

### primary5Y

```
val primary5Y: UShort?
```

The normalized chromaticity value `y` for this primary, as defined in the CIE xyY Color Space.

**Access type:** Read

### primary6Intensity

```
val primary6Intensity: UByte?
```

A representation of the maximum intensity of this primary as defined in the Dimming Light Curve in the BallastConfiguration cluster, normalized such that the primary with the highest maximum intensity contains the value `0xfe`. If null, this primary is not available.

**Access type:** Read

### primary6X

```
val primary6X: UShort?
```

The normalized chromaticity value `x` for this primary, as defined in the CIE xyY Color Space.

**Access type:** Read

### primary6Y

```
val primary6Y: UShort?
```

The normalized chromaticity value `y` for this primary, as defined in the CIE xyY Color Space.

**Access type:** Read

### remainingTime

```
val remainingTime: UShort?
```

The time remaining (in 0.1 seconds) until the current command is complete.

**Access type:** Read

### startUpColorTemperatureMireds

```
val startUpColorTemperatureMireds: UShort?
```

The desired startup color temperature value when a device is supplied with power. The `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorTemperatureMireds()` attribute is updated to this value. Setting this value to null sets `colorTemperatureMireds` to its previous value.

**Access type:** Write

### whitePointX

```
val whitePointX: UShort?
```

The normalized chromaticity value `x` for this primary, as defined in the CIE xyY Color Space, of the current white point of the device.

**Access type:** Read

### whitePointY

```
val whitePointY: UShort?
```

The normalized chromaticity value `y` for this primary, as defined in the CIE xyY Color Space, of the current white point of the device.

**Access type:** Read