---
title: "moveHue(with:expectedValues:expectedValueInterval:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclustercolorcontrol/movehue(with:expectedvalues:expectedvalueinterval:completion:)"
---

# moveHue(with:expectedValues:expectedValueInterval:completion:)

## Declaration

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

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