---
title: "writeAttributeMaxLevel(withValue:expectedValueInterval:params:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclusterballastconfiguration/writeattributemaxlevel(withvalue:expectedvalueinterval:params:)"
---

# writeAttributeMaxLevel(withValue:expectedValueInterval:params:)

## Declaration

```swift
func writeAttributeMaxLevel(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)
```
