Readonly
currentDebounce Delay to wait until a newly reported raw position is considered stable and written to the currentPosition attribue.
Time to wait until a value is considered "long" pressed
Number of the position considered as the neutral position for the momentary switch.
Timeframe starting with a stable release to detect multi-presses.
Optional
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.
Raw position of the switch. Set this to debounce the value.
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.