# OccupancySensingTrait


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

<br />

*** ** * ** ***

Attributes for OccupancySensingTrait.

## 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/OccupancySensingTrait.Attributes : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Attributes for the OccupancySensing cluster. |
| `data class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OccupancySensingTrait.Feature` OccupancySensing cluster FeatureMap. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OccupancySensingTrait.HoldTimeLimitsStruct : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Provides information on the server's supported values for the holdTime attribute. |
| `@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/OccupancySensingTrait.HoldTimeLimitsStruct.StructFields : 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 struct's fields. |
| `data class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OccupancySensingTrait.OccupancyBitmap` The current active occupancy state. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OccupancySensingTrait.OccupancyChanged : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Generated when the occupancy status changes. |
| `data class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OccupancySensingTrait.OccupancySensorTypeBitmap` The current active occupancy sensor type. |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OccupancySensingTrait.OccupancySensorTypeEnum : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/ClusterEnum` Specifies the occupancy sensor type. |

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

## Public properties

### Id

```
val Id: ClusterId
```