---
title: "step(with:expectedValues:expectedValueInterval:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclusterlevelcontrol/step(with:expectedvalues:expectedvalueinterval:completionhandler:)"
---

# step(with:expectedValues:expectedValueInterval:completionHandler:)

## Declaration

```swift
func step(with params: MTRLevelControlClusterStepParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?, completionHandler: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func step(with params: MTRLevelControlClusterStepParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
```
