---
title: "writeAttributePresets(withValue:expectedValueInterval:params:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclusterthermostat/writeattributepresets(withvalue:expectedvalueinterval:params:)"
---

# writeAttributePresets(withValue:expectedValueInterval:params:)

## Declaration

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