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

# readAttributePrimary1Y(completionHandler:)

## Declaration

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

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