LatchingSwitchComponent: {
    events: {
        switchLatched: Event<TypeFromFields<{
            newPosition: FieldType<number>;
        }>, any>;
    };
} = ...

A SwitchCluster supports these elements if it supports feature LatchingSwitch.

Type declaration

  • Readonlyevents: {
        switchLatched: Event<TypeFromFields<{
            newPosition: FieldType<number>;
        }>, any>;
    }
    • ReadonlyswitchLatched: Event<TypeFromFields<{
          newPosition: FieldType<number>;
      }>, any>

      This event shall be generated, when the latching switch is moved to a new position. It may have been delayed by debouncing within the switch.

      MatterSpecification.v13.Cluster § 1.13.6.1