---
title: "readAttributeNumberOfPresets(with:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclusterthermostat/readattributenumberofpresets(with:)"
---

# readAttributeNumberOfPresets(with:)

## Declaration

```swift
func readAttributeNumberOfPresets(with params: MTRReadParams?) -> [String : Any]?
```
