ElectricalEnergyMeasurement

interface ElectricalEnergyMeasurement : ElectricalEnergyMeasurementTrait.Attributes, MatterTrait


API for the ElectricalEnergyMeasurement trait. This trait provides a mechanism for querying data about electrical energy imported or provided by the server.

Summary

Nested types

Descriptor enum for this trait's attributes.

Inherited functions

From com.google.home.TraitStateInvalidation
suspend Unit

Inherited properties

From com.google.home.matter.standard.ElectricalEnergyMeasurementTrait.Attributes
List<UInt>

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

ElectricalEnergyMeasurementTrait.MeasurementAccuracyStruct?

The accuracy of energy measurement by this server.

List<UInt>

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

UShort

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

ElectricalEnergyMeasurementTrait.EnergyMeasurementStruct?

The most recent measurement of cumulative energy exported by the server over the lifetime of the device, and the timestamp of when the measurement was recorded.

ElectricalEnergyMeasurementTrait.EnergyMeasurementStruct?

The most recent measurement of cumulative energy imported by the server over the lifetime of the device, and the timestamp of when the measurement was recorded.

ElectricalEnergyMeasurementTrait.CumulativeEnergyResetStruct?

Indicates when cumulative measurements were most recently zero.

ElectricalEnergyMeasurementTrait.Feature

Whether the server supports zero or more optional cluster features.

List<UInt>

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

ElectricalEnergyMeasurementTrait.EnergyMeasurementStruct?

The most recent measurement of periodic energy exported by the server and the period during which it was measured.

ElectricalEnergyMeasurementTrait.EnergyMeasurementStruct?

The most recent measurement of periodic energy imported by the server and the period during which it was measured.

From com.google.home.Trait

Public functions

Public properties