Indicates 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.
See
MatterSpecification.v13.Cluster § 1.13.5.2
ReadonlynumberOfPositions
numberOfPositions:number
Indicates 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.
Indicates 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.