---
title: "writeAttributeControlMode(withValue:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterpumpconfigurationandcontrol/writeattributecontrolmode(withvalue:completionhandler:)"
---

# writeAttributeControlMode(withValue:completionHandler:)

## Declaration

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

```swift
func writeAttributeControlMode(withValue value: NSNumber) async throws
```
