Base: {
    extensions: readonly [{
        component: {
            attributes: {
                currentEnergyBalance: WritableAttribute<number, any>;
                energyBalances: FixedAttribute<TypeFromFields<{
                    label: OptionalFieldType<string>;
                    step: FieldType<number>;
                }>[], any>;
                energyPriorities: FixedAttribute<EnergyPreference.EnergyPriority[], any>;
            };
        };
        flags: {
            energyBalance: true;
        };
    }, {
        component: {
            attributes: {
                currentLowPowerModeSensitivity: WritableAttribute<number, any>;
                lowPowerModeSensitivities: FixedAttribute<TypeFromFields<{
                    label: OptionalFieldType<string>;
                    step: FieldType<number>;
                }>[], any>;
            };
        };
        flags: {
            lowPowerModeSensitivity: true;
        };
    }, {
        component: false;
        flags: {
            energyBalance: false;
            lowPowerModeSensitivity: false;
        };
    }];
    features: {
        energyBalance: BitFlag;
        lowPowerModeSensitivity: BitFlag;
    };
    id: 155;
    name: "EnergyPreference";
    revision: 1;
} = ...

These elements and properties are present in all EnergyPreference clusters.

Type declaration

  • Readonlyextensions: readonly [{
        component: {
            attributes: {
                currentEnergyBalance: WritableAttribute<number, any>;
                energyBalances: FixedAttribute<TypeFromFields<{
                    label: OptionalFieldType<string>;
                    step: FieldType<number>;
                }>[], any>;
                energyPriorities: FixedAttribute<EnergyPreference.EnergyPriority[], any>;
            };
        };
        flags: {
            energyBalance: true;
        };
    }, {
        component: {
            attributes: {
                currentLowPowerModeSensitivity: WritableAttribute<number, any>;
                lowPowerModeSensitivities: FixedAttribute<TypeFromFields<{
                    label: OptionalFieldType<string>;
                    step: FieldType<number>;
                }>[], any>;
            };
        };
        flags: {
            lowPowerModeSensitivity: true;
        };
    }, {
        component: false;
        flags: {
            energyBalance: false;
            lowPowerModeSensitivity: false;
        };
    }]

    This metadata controls which EnergyPreferenceCluster elements matter.js activates for specific feature combinations.

  • Readonlyfeatures: {
        energyBalance: BitFlag;
        lowPowerModeSensitivity: BitFlag;
    }
    • ReadonlyenergyBalance: BitFlag

      EnergyBalance

      This feature allows a user to select from a list of energy balances with associated descriptions of which strategies a device will use to target the specified balance.

      MatterSpecification.v13.Cluster § 9.5.4.1

    • ReadonlylowPowerModeSensitivity: BitFlag

      LowPowerModeSensitivity

      This feature allows the user to select a condition or set of conditions which will cause the device to switch to a mode using less power. For example, a device might provide a scale of durations that must elapse without user interaction before it goes to sleep.

      MatterSpecification.v13.Cluster § 9.5.4.2

  • Readonlyid: 155
  • Readonlyname: "EnergyPreference"
  • Readonlyrevision: 1