---
title: MTRClusterSwitch
framework: matter
role: symbol
role_heading: Class
path: matter/mtrclusterswitch
---

# MTRClusterSwitch

## Declaration

```swift
class MTRClusterSwitch
```

## Topics

### Initializers

- [init(device:endpoint:queue:)](matter/mtrclusterswitch/init(device:endpoint:queue:).md)
- [init(device:endpointID:queue:)](matter/mtrclusterswitch/init(device:endpointid:queue:).md)

### Instance Methods

- [readAttributeAcceptedCommandList(with:)](matter/mtrclusterswitch/readattributeacceptedcommandlist(with:).md)
- [readAttributeAttributeList(with:)](matter/mtrclusterswitch/readattributeattributelist(with:).md)
- [readAttributeClusterRevision(with:)](matter/mtrclusterswitch/readattributeclusterrevision(with:).md)
- [readAttributeCurrentPosition(with:)](matter/mtrclusterswitch/readattributecurrentposition(with:).md)
- [readAttributeFeatureMap(with:)](matter/mtrclusterswitch/readattributefeaturemap(with:).md)
- [readAttributeGeneratedCommandList(with:)](matter/mtrclusterswitch/readattributegeneratedcommandlist(with:).md)
- [readAttributeMultiPressMax(with:)](matter/mtrclusterswitch/readattributemultipressmax(with:).md)
- [readAttributeNumberOfPositions(with:)](matter/mtrclusterswitch/readattributenumberofpositions(with:).md)

## Relationships

### Inherits From

- [MTRGenericCluster](matter/mtrgenericcluster.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
