ExtendedPowerSourceTrait.Attributes

interface ExtendedPowerSourceTrait.Attributes

Known direct subclasses
ExtendedPowerSource

API for the ExtendedPowerSource trait.


Attributes for the ExtendedPowerSource cluster.

Summary

Public properties

List<UInt>

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

List<UInt>

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

Boolean?

Indicates whether battery saver mode is enabled.

List<ExtendedPowerSourceTrait.Capacity>?

The remaining capacity.

List<ExtendedPowerSourceTrait.Capacity>?

The remaining capacity until full.

ExtendedPowerSourceTrait.ChargeSpeed?

The charge speed.

UShort

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

ExtendedPowerSourceTrait.DescriptiveCapacityRemaining?

The description of the remaining capacity.

ExtendedPowerSourceTrait.EnergySource?

The energy source.

ExtendedPowerSourceTrait.DistanceUnit?

The energy storage distance unit visible to the user.

UInt

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.

Boolean?

Indicates whether the device is plugged in.

Boolean?

Indicates whether the device is using backup energy source.

Public properties

acceptedCommandList

val acceptedCommandListList<UInt>

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

attributeList

val attributeListList<UInt>

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

batterySaverEnabled

val batterySaverEnabledBoolean?

Indicates whether battery saver mode is enabled.

Access type: Read

capacityRemaining

val capacityRemainingList<ExtendedPowerSourceTrait.Capacity>?

The remaining capacity.

Access type: Read

capacityUntilFull

val capacityUntilFullList<ExtendedPowerSourceTrait.Capacity>?

The remaining capacity until full.

Access type: Read

chargeSpeed

val chargeSpeedExtendedPowerSourceTrait.ChargeSpeed?

The charge speed.

Access type: Read

clusterRevision

val clusterRevisionUShort

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

descriptiveCapacityRemaining

val descriptiveCapacityRemainingExtendedPowerSourceTrait.DescriptiveCapacityRemaining?

The description of the remaining capacity.

Access type: Read

energySource

val energySourceExtendedPowerSourceTrait.EnergySource?

The energy source.

Access type: Read

energyStorageDistanceUnitForUx

val energyStorageDistanceUnitForUxExtendedPowerSourceTrait.DistanceUnit?

The energy storage distance unit visible to the user.

Access type: Read

featureMap

val featureMapUInt

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 generatedCommandListList<UInt>

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

isPluggedIn

val isPluggedInBoolean?

Indicates whether the device is plugged in.

Access type: Read

usingBackupEnergySource

val usingBackupEnergySourceBoolean?

Indicates whether the device is using backup energy source.

Access type: Read