ElectricalEnergyMeasurementBehavior: Type<Of<{
    attributes: {
        accuracy: .;
    };
    extensions: readonly [{
        component: {
            attributes: {
                cumulativeEnergyImported: .;
            };
        };
        flags: {
            cumulativeEnergy: true;
            importedEnergy: true;
        };
    }, {
        component: {
            attributes: {
                cumulativeEnergyExported: .;
            };
        };
        flags: {
            cumulativeEnergy: true;
            exportedEnergy: true;
        };
    }, {
        component: {
            attributes: {
                periodicEnergyImported: .;
            };
        };
        flags: {
            importedEnergy: true;
            periodicEnergy: true;
        };
    }, {
        component: {
            attributes: {
                periodicEnergyExported: .;
            };
        };
        flags: {
            exportedEnergy: true;
            periodicEnergy: true;
        };
    }, {
        component: {
            attributes: {
                cumulativeEnergyReset: .;
            };
            events: {
                cumulativeEnergyMeasured: .;
            };
        };
        flags: {
            cumulativeEnergy: true;
        };
    }, {
        component: {
            events: {
                periodicEnergyMeasured: .;
            };
        };
        flags: {
            periodicEnergy: true;
        };
    }, {
        component: false;
        flags: {
            exportedEnergy: false;
            importedEnergy: false;
        };
    }, {
        component: false;
        flags: {
            cumulativeEnergy: false;
            periodicEnergy: false;
        };
    }];
    features: {
        cumulativeEnergy: .;
        exportedEnergy: .;
        importedEnergy: .;
        periodicEnergy: .;
    };
    id: 145;
    name: "ElectricalEnergyMeasurement";
    revision: 1;
}>, typeof ClusterBehavior, {
    components: never[];
}>

ElectricalEnergyMeasurementBehavior is the base class for objects that support interaction with ElectricalEnergyMeasurement.Cluster.

ElectricalEnergyMeasurement.Cluster requires you to enable one or more optional features. You can do so using ElectricalEnergyMeasurementBehavior.with.