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

# writeAttributeUnoccupiedHeatingSetpoint(withValue:completionHandler:)

## Declaration

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

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