The Switch cluster (0x003B) is a Matter cluster that Supports various types of switch devices including latching switches that maintain position and momentary switches (buttons) that generate press events.. It defines 3 attributes and is mandatory for 1 device type.
Switch 0x003B
Supports various types of switch devices including latching switches that maintain position and momentary switches (buttons) that generate press events.
Spec History
This cluster's ClusterRevision across the Matter releases it has shipped in. Click a version to inspect the cluster as it existed in that release.
Attributes 3
Features 6
| Code | Name | Type | Flags |
|---|---|---|---|
| 0x0000 |
NumberOfPositions
min 2
|
int8u | |
| 0x0001 |
CurrentPosition
max 254
|
int8u | |
| 0x0002 |
MultiPressMax
min 2
|
int8u |
LatchingSwitch
(LS)
bit 0
Switch is latching
MomentarySwitch
(MS)
bit 1
Switch is momentary
MomentarySwitchRelease
(MSR)
bit 2
Switch supports release events generation
MomentarySwitchLongPress
(MSL)
bit 3
Switch supports long press detection
MomentarySwitchMultiPress
(MSM)
bit 4
Switch supports multi-press detection
ActionSwitch
(AS)
bit 5
Switch is momentary, targeted at specific user actions (focus on multi-press and optionally long press) with a reduced event generation scheme
Device Types Using This Cluster
Device types in the Matter spec that reference this cluster
Devices Implementing This Cluster
53 devices in the survey implement this cluster