An "element modifier" mutates cluster elements based on a predefined set of alterations described in the Matter device library.

Type Parameters

Constructors

Properties

Methods

Constructors

Properties

cluster: T

Methods

  • Create a new cluster with different attribute defaults.

    This "sets" the values of attributes when the cluster is created for the first time with no persistent state.

    Type Parameters

    Parameters

    Returns WithValues<T, ValuesT>