---
title: "readAttributePrimary5X(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustercolorcontrol/readattributeprimary5x(completion:)"
---

# readAttributePrimary5X(completion:)

## Declaration

```swift
func readAttributePrimary5X(completion: @escaping @Sendable (NSNumber?, (any Error)?) -> Void)
```

```swift
func readAttributePrimary5X() async throws -> NSNumber
```
