# WindowCoveringTrait.Attributes


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

<br />

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

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

*** ** * ** ***

Attributes for the WindowCovering 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/WindowCoveringTrait.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/WindowCoveringTrait.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/WindowCoveringTrait.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/WindowCoveringTrait.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/WindowCoveringTrait.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/WindowCoveringTrait.ConfigStatus?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#configStatus()` Configuration and status information for the window covering. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#currentPositionLift()` The distance of the window covering from the fully-open position, in centimeters. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#currentPositionLiftPercent100ths()` The position of the window covering as a percentage with a minimum step of 0.01%. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#currentPositionLiftPercentage()` The position of the window covering as a percentage with a 1% default step. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#currentPositionTilt()` The current tilt position of the window covering, in degrees. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#currentPositionTiltPercent100ths()` The position of the window covering as a percentage with a minimal step of 0.01%. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#currentPositionTiltPercentage()` The position of the window covering as a percentage with a 1% default step. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.EndProductType?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#endProductType()` With the WindowCovering.Type, this specifies the subtype of window covering. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Feature` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.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/WindowCoveringTrait.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-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#installedClosedLimitLift()` The closed limit when tilting the window covering, in tenths of a degree. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#installedClosedLimitTilt()` The closed limit when lifting the window covering, in tenths of a degree. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#installedOpenLimitLift()` The open limit for lifting the window covering, in centimeters. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#installedOpenLimitTilt()` The open limit for tilting the window covering, in tenths of a degree. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Mode?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#mode()` Allows configuration of the window covering, such as: reversing the motor direction, or placing the motor into maintenance mode. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#numberOfActuationsLift()` The total number of lift or slide actuations applied to the window covering since it was installed. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#numberOfActuationsTilt()` The total number of tilt actuations applied to the window covering since it was installed. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.OperationalStatus?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#operationalStatus()` Indicates currently ongoing operations and applies to all types of devices. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#physicalClosedLimitLift()` The maximum possible encoder position for setting the height of the window covering, in centimeters. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#physicalClosedLimitTilt()` The maximum possible encoder position for setting the angle of the window covering. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.SafetyStatus?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#safetyStatus()` Reflects the state of the safety sensors and the common issues preventing movements. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#targetPositionLiftPercent100ths()` The lift position which the window covering is moving to, as a percentage. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#targetPositionTiltPercent100ths()` The tilt position which the window covering is moving to, as a percentage. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Type?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#type()` The type of window covering. |

## 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.

### configStatus

```
val configStatus: WindowCoveringTrait.ConfigStatus?
```

Configuration and status information for the window covering.

**Access type:** Read

### currentPositionLift

```
val currentPositionLift: UShort?
```

The distance of the window covering from the fully-open position, in centimeters.

**Access type:** Read

### currentPositionLiftPercent100ths

```
val currentPositionLiftPercent100ths: UShort?
```

The position of the window covering as a percentage with a minimum step of 0.01%. For example, 10000 equals 100.00%.

**Access type:** Read

### currentPositionLiftPercentage

```
val currentPositionLiftPercentage: UByte?
```

The position of the window covering as a percentage with a 1% default step. This attribute is equivalent to `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#currentPositionLiftPercent100ths()` attribute divided by 100.

**Access type:** Read

### currentPositionTilt

```
val currentPositionTilt: UShort?
```

The current tilt position of the window covering, in degrees.

**Access type:** Read

### currentPositionTiltPercent100ths

```
val currentPositionTiltPercent100ths: UShort?
```

The position of the window covering as a percentage with a minimal step of 0.01%. For example, 10000 equals 100.00%.

**Access type:** Read

### currentPositionTiltPercentage

```
val currentPositionTiltPercentage: UByte?
```

The position of the window covering as a percentage with a 1% default step. This attribute is equivalent to `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/WindowCoveringTrait.Attributes#currentPositionTiltPercent100ths()` attribute divided by 100.

**Access type:** Read

### endProductType

```
val endProductType: WindowCoveringTrait.EndProductType?
```

With the WindowCovering.Type, this specifies the subtype of window covering.

**Access type:** Read

### featureMap

```
val featureMap: WindowCoveringTrait.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.

### installedClosedLimitLift

```
val installedClosedLimitLift: UShort?
```

The closed limit when tilting the window covering, in tenths of a degree.

**Access type:** Read

### installedClosedLimitTilt

```
val installedClosedLimitTilt: UShort?
```

The closed limit when lifting the window covering, in tenths of a degree.

**Access type:** Read

### installedOpenLimitLift

```
val installedOpenLimitLift: UShort?
```

The open limit for lifting the window covering, in centimeters.

**Access type:** Read

### installedOpenLimitTilt

```
val installedOpenLimitTilt: UShort?
```

The open limit for tilting the window covering, in tenths of a degree.

**Access type:** Read

### mode

```
val mode: WindowCoveringTrait.Mode?
```

Allows configuration of the window covering, such as: reversing the motor direction, or placing the motor into maintenance mode.

**Access type:** Write

### numberOfActuationsLift

```
val numberOfActuationsLift: UShort?
```

The total number of lift or slide actuations applied to the window covering since it was installed.

**Access type:** Read

### numberOfActuationsTilt

```
val numberOfActuationsTilt: UShort?
```

The total number of tilt actuations applied to the window covering since it was installed.

**Access type:** Read

### operationalStatus

```
val operationalStatus: WindowCoveringTrait.OperationalStatus?
```

Indicates currently ongoing operations and applies to all types of devices.

**Access type:** Read

### physicalClosedLimitLift

```
val physicalClosedLimitLift: UShort?
```

The maximum possible encoder position for setting the height of the window covering, in centimeters.

**Access type:** Read

### physicalClosedLimitTilt

```
val physicalClosedLimitTilt: UShort?
```

The maximum possible encoder position for setting the angle of the window covering.

**Access type:** Read

### safetyStatus

```
val safetyStatus: WindowCoveringTrait.SafetyStatus?
```

Reflects the state of the safety sensors and the common issues preventing movements.

**Access type:** Read

### targetPositionLiftPercent100ths

```
val targetPositionLiftPercent100ths: UShort?
```

The lift position which the window covering is moving to, as a percentage.

**Access type:** Read

### targetPositionTiltPercent100ths

```
val targetPositionTiltPercent100ths: UShort?
```

The tilt position which the window covering is moving to, as a percentage.

**Access type:** Read

### type

```
val type: WindowCoveringTrait.Type?
```

The type of window covering.

**Access type:** Read