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

# writeAttributePresets(withValue:expectedValueInterval:)

## Declaration

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