OnOffComponent: {
    attributes: {
        onMode: WritableAttribute<null | number, any>;
    };
} = ...

A EnergyEvseModeCluster supports these elements if it supports feature OnOff.

Type declaration

  • Readonlyattributes: {
        onMode: WritableAttribute<null | number, any>;
    }
    • ReadonlyonMode: WritableAttribute<null | number, any>

      Indicates whether the value of CurrentMode depends on the state of the On/Off cluster on the same endpoint. If this attribute is not present or is set to null, there is no dependency, otherwise the CurrentMode attribute shall depend on the OnOff attribute in the On/Off cluster

      The value of this field shall match the Mode field of one of the entries in the SupportedModes attribute.

      MatterSpecification.v13.Cluster § 1.10.6.5