Readonly
currentIndicates the position of the switch. The valid range is zero to NumberOfPositions-1. CurrentPosition value 0 shall be assigned to the default position of the switch: for example the "open" state of a rocker switch, or the "idle" state of a push button switch.
Readonly
multiReadonly
numberIndicates the maximum number of positions the switch has. Any kind of switch has a minimum of 2 positions. Also see Multi Position Details for the case NumberOfPositions>2.
Readonly
latchingLatchingSwitch
This feature is for a switch that maintains its position after being pressed (or turned).
Readonly
momentaryMomentarySwitch
This feature is for a switch that does not maintain its position after being pressed (or turned). After releasing, it goes back to its idle position.
Readonly
momentaryMomentarySwitchLongPress
This feature is for a momentary switch that can distinguish and report long presses from short presses. When this feature flag MSL is present, MS and MSR shall be present as well.
Readonly
momentaryMomentarySwitchMultiPress
This feature is for a momentary switch that can distinguish and report double press and potentially multiple presses with more events, such as triple press, etc. When this feature flag MSM is present, MS and MSR shall be present as well.
Readonly
momentaryMomentarySwitchRelease
This feature is for a momentary switch that can distinguish and report release events. When this feature flag MSR is present, MS shall be present as well.
Modify elements using ElementModifier.alter.
Modify elements using ElementModifier.enable.
Modify elements using ElementModifier.set.
Select features using ClusterComposer.compose.
Rest
...selection: SelectionT
This cluster supports all Switch features. It may support illegal feature combinations.
If you use this cluster you must manually specify which features are active and ensure the set of active features is legal per the Matter specification.