DeviceEnergyManagementTrait.PowerAdjustEnd

interface DeviceEnergyManagementTrait.PowerAdjustEnd : ClusterStruct


Indicates that the ESA has ended the power adjustment session.

Summary

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

DeviceEnergyManagementTrait.CauseEnum?

The cause of the end of the power adjustment session.

UInt?

The duration, in seconds, of the power adjustment session.

Long?

The amount of energy, in megawatt hours, that the ESA used during the power adjustment session.

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

cause

val causeDeviceEnergyManagementTrait.CauseEnum?

The cause of the end of the power adjustment session.

duration

val durationUInt?

The duration, in seconds, of the power adjustment session.

energyUse

val energyUseLong?

The amount of energy, in megawatt hours, that the ESA used during the power adjustment session.