---
title: "writeAttributeACCapacity(withValue:params:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterthermostat/writeattributeaccapacity(withvalue:params:completionhandler:)"
---

# writeAttributeACCapacity(withValue:params:completionHandler:)

## Declaration

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

```swift
func writeAttributeACCapacity(withValue value: NSNumber, params: MTRWriteParams?) async throws
```
