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

# readAttributeCompensationText(completionHandler:)

## Declaration

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

```swift
func readAttributeCompensationText() async throws -> String
```
