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

# writeAttributeACCapacity(withValue:completionHandler:)

## Declaration

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

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