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

# readAttributeDriftCompensation(completionHandler:)

## Declaration

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

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