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

# writeAttributeOccupiedSetback(withValue:completionHandler:)

## Declaration

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

```swift
func writeAttributeOccupiedSetback(withValue value: NSNumber?) async throws
```
