# ElectricalEnergyMeasurementTrait

# ElectricalEnergyMeasurementTrait


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

<br />

*** ** * ** ***

Attributes for ElectricalEnergyMeasurementTrait.

## 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/ElectricalEnergyMeasurementTrait.Attributes : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Attributes for the ElectricalEnergyMeasurement cluster. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ElectricalEnergyMeasurementTrait.CumulativeEnergyMeasured : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` This event gets generated when the server takes a snapshot of the cumulative energy imported or exported from the server. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ElectricalEnergyMeasurementTrait.CumulativeEnergyResetStruct : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Indicates when cumulative measurements were most recently zero. |
| `@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/ElectricalEnergyMeasurementTrait.CumulativeEnergyResetStruct.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. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ElectricalEnergyMeasurementTrait.EnergyMeasurementStruct : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Indicates the amount of energy measured during a given measurement period. |
| `@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/ElectricalEnergyMeasurementTrait.EnergyMeasurementStruct.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/ElectricalEnergyMeasurementTrait.Feature` ElectricalEnergyMeasurement Trait FeatureMap. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ElectricalEnergyMeasurementTrait.MeasurementAccuracyRangeStruct : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The accuracy of a measurement for a range of measurement values, shown as a maximum +/- percentage of the true value, a maximum +/- fixed value of the true value, or both. |
| `@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/ElectricalEnergyMeasurementTrait.MeasurementAccuracyRangeStruct.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. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ElectricalEnergyMeasurementTrait.MeasurementAccuracyStruct : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The set of accuracy ranges for a given measurement, the maximum and minimum values for the measurement, and whether the measurement is directly measured or only estimated from other existing information. |
| `@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/ElectricalEnergyMeasurementTrait.MeasurementAccuracyStruct.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. |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ElectricalEnergyMeasurementTrait.MeasurementTypeEnum : 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 type of measurement. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ElectricalEnergyMeasurementTrait.PeriodicEnergyMeasured : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` This event gets generated when the server reaches the end of a reporting period for imported or exported energy. |

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

## Public properties

### Id

```
val Id: ClusterId
```