---
title: "writeAttributeACCompressorType(withValue:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterthermostat/writeattributeaccompressortype(withvalue:completion:)"
---

# writeAttributeACCompressorType(withValue:completion:)

## Declaration

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

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