MomentarySwitchReleaseComponent: {
    events: {
        shortRelease: Event<TypeFromFields, any>;
    };
}

A SwitchCluster supports these elements if it supports feature MomentarySwitchRelease.

Type declaration

  • Readonlyevents: {
        shortRelease: Event<TypeFromFields, any>;
    }
    • ReadonlyshortRelease: Event<TypeFromFields, any>

      This event shall be generated, when the momentary switch has been released (after debouncing).

      • If the server supports the Momentary Switch LongPress (MSL) feature, this event shall be generated when the switch is released if no LongPress event had been generated since the previous InitialPress event.

      • If the server does not support the Momentary Switch LongPress (MSL) feature, this event shall be generated when the switch is released - even when the switch was pressed for a long time.

      • Also see Section 1.13.7, “Sequence of generated events”.

      MatterSpecification.v13.Cluster § 1.13.6.4