---
title: "writeAttributeStartUp(withValue:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusteronoff/writeattributestartup(withvalue:completionhandler:)"
---

# writeAttributeStartUp(withValue:completionHandler:)

## Declaration

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

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