Variable CompleteInstanceConst Complete Instance : MutableCluster < { attributes : { acceptedCommandList : Attribute < . [] , never > ; attributeList : Attribute < . [] , never > ; clusterRevision : Attribute < number , never > ; currentMode : Attribute < number , any > ; description : FixedAttribute < string , any > ; featureMap : Attribute < TypeFromPartialBitSchema , never > ; generatedCommandList : Attribute < . [] , never > ; onMode : WritableAttribute < number | null , any > & { isConditional : true ; mandatoryIf : [ ] | [ { onOff : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; standardNamespace : FixedAttribute < number | null , any > ; startUpMode : OptionalWritableAttribute < number | null , any > ; supportedModes : FixedAttribute < TypeFromFields [] , any > ; } ; commands : { changeToMode : Command < TypeFromFields , void , any > ; } ; features : { onOff : BitFlag ; } ; id : @matter/general ; name : "ModeSelect" ; revision : 2 ; } , [ ] > Type declaration Readonlyattributes : { acceptedCommandList : Attribute < . [] , never > ; attributeList : Attribute < . [] , never > ; clusterRevision : Attribute < number , never > ; currentMode : Attribute < number , any > ; description : FixedAttribute < string , any > ; featureMap : Attribute < TypeFromPartialBitSchema , never > ; generatedCommandList : Attribute < . [] , never > ; onMode : WritableAttribute < number | null , any > & { isConditional : true ; mandatoryIf : [ ] | [ { onOff : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; standardNamespace : FixedAttribute < number | null , any > ; startUpMode : OptionalWritableAttribute < number | null , any > ; supportedModes : FixedAttribute < TypeFromFields [] , any > ; } Readonlyaccepted Command List : Attribute < . [] , never > Readonlyattribute List : Attribute < . [] , never > Readonlycluster Revision : Attribute < number , never > Readonlycurrent Mode : Attribute < number , any > Readonlydescription : FixedAttribute < string , any > Readonlyfeature Map : Attribute < TypeFromPartialBitSchema , never > Readonlygenerated Command List : Attribute < . [] , never > Readonlyon Mode : WritableAttribute < number | null , any > & { isConditional : true ; mandatoryIf : [ ] | [ { onOff : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonlystandard Namespace : FixedAttribute < number | null , any > Readonlysupported Modes : FixedAttribute < TypeFromFields [] , any > Readonlycommands : { changeToMode : Command < TypeFromFields , void , any > ; } Readonlychange To Mode : Command < TypeFromFields , void , any > Readonlyfeatures : { onOff : BitFlag ; } Readonlyname : "ModeSelect" Readonlyrevision : 2 Defined in packages/types/dist/esm/clusters/mode-select.d.ts:517
On receipt of this command, if the NewMode field indicates a valid mode transition within the supported list, the server shall set the CurrentMode attribute to the NewMode value, otherwise, the server shall respond with an INVALID_COMMAND status response.