---
title: "readAttributePrimary3Y(completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustercolorcontrol/readattributeprimary3y(completionhandler:)"
---

# readAttributePrimary3Y(completionHandler:)

## Declaration

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

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