LowPowerModeSensitivityComponent: {
    attributes: {
        currentLowPowerModeSensitivity: WritableAttribute<number, any>;
        lowPowerModeSensitivities: FixedAttribute<TypeFromFields<{
            label: OptionalFieldType<string>;
            step: FieldType<number>;
        }>[], any>;
    };
} = ...

A EnergyPreferenceCluster supports these elements if it supports feature LowPowerModeSensitivity.

Type declaration

  • Readonlyattributes: {
        currentLowPowerModeSensitivity: WritableAttribute<number, any>;
        lowPowerModeSensitivities: FixedAttribute<TypeFromFields<{
            label: OptionalFieldType<string>;
            step: FieldType<number>;
        }>[], any>;
    }
    • ReadonlycurrentLowPowerModeSensitivity: WritableAttribute<number, any>

      Indicates the current preference of the user for determining when the device should enter a low power mode. The value of this attribute is the index, 0-based, into the LowPowerModeSensitivities attribute for the currently selected preference.

      If an attempt is made to set this attribute to an index outside the maximum index for LowPowerModeSensitivities, a response with the status code CONSTRAINT_ERROR shall be returned.

      If the value of LowPowerModeSensitivities changes after an update, the device shall migrate the value of the LowPowerModeSensitivity attribute to the index which the manufacturer specifies most closely matches the previous value.

      MatterSpecification.v13.Cluster § 9.5.6.5

    • ReadonlylowPowerModeSensitivities: FixedAttribute<TypeFromFields<{
          label: OptionalFieldType<string>;
          step: FieldType<number>;
      }>[], any>

      Indicates a list of BalanceStructs, each representing a condition or set of conditions for the device to enter a low power mode.

      This shall contain at least two BalanceStructs.

      Each BalanceStruct shall have a Step field larger than the Step field on the previous BalanceStruct in the list.

      MatterSpecification.v13.Cluster § 9.5.6.4