Variable CompleteInstanceConst
Complete Instance : MutableCluster < { attributes : { currentPosition : Attribute < number , any > ; multiPressMax : FixedAttribute < number , any > & { isConditional : true ; mandatoryIf : [ ] | [ { momentarySwitchMultiPress : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; numberOfPositions : FixedAttribute < number , any > ; } ; events : { initialPress : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { momentarySwitch : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; longPress : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { momentarySwitchLongPress : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; longRelease : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { momentarySwitchLongPress : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; multiPressComplete : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { momentarySwitchMultiPress : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; multiPressOngoing : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { momentarySwitchMultiPress : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; shortRelease : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { momentarySwitchRelease : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; switchLatched : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { latchingSwitch : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; } ; features : { latchingSwitch : BitFlag ; momentarySwitch : BitFlag ; momentarySwitchLongPress : BitFlag ; momentarySwitchMultiPress : BitFlag ; momentarySwitchRelease : BitFlag ; } ; id : 59 ; name : "Switch" ; revision : 1 ; } , [ ] > Type declaration Readonly
attributes : { currentPosition : Attribute < number , any > ; multiPressMax : FixedAttribute < number , any > & { isConditional : true ; mandatoryIf : [ ] | [ { momentarySwitchMultiPress : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; numberOfPositions : FixedAttribute < number , any > ; } Readonly
current Position : Attribute < number , any > Readonly
multi Press Max : FixedAttribute < number , any > & { isConditional : true ; mandatoryIf : [ ] | [ { momentarySwitchMultiPress : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonly
number Of Positions : FixedAttribute < number , any > Readonly
events : { initialPress : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { momentarySwitch : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; longPress : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { momentarySwitchLongPress : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; longRelease : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { momentarySwitchLongPress : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; multiPressComplete : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { momentarySwitchMultiPress : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; multiPressOngoing : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { momentarySwitchMultiPress : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; shortRelease : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { momentarySwitchRelease : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; switchLatched : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { latchingSwitch : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; } Readonly
initial Press : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { momentarySwitch : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonly
long Press : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { momentarySwitchLongPress : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonly
long Release : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { momentarySwitchLongPress : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonly
multi Press Complete : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { momentarySwitchMultiPress : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonly
multi Press Ongoing : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { momentarySwitchMultiPress : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonly
short Release : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { momentarySwitchRelease : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonly
switch Latched : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { latchingSwitch : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonly
features : { latchingSwitch : BitFlag ; momentarySwitch : BitFlag ; momentarySwitchLongPress : BitFlag ; momentarySwitchMultiPress : BitFlag ; momentarySwitchRelease : BitFlag ; } Readonly
latching Switch : BitFlag Readonly
momentary Switch : BitFlag Readonly
momentary Switch Long Press : BitFlag Readonly
momentary Switch Multi Press : BitFlag Readonly
momentary Switch Release : BitFlag Readonly
id : 59 Readonly
name : "Switch" Readonly
revision : 1 Defined in packages/types/dist/esm/clusters/switch.d.ts:1018
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.