changeToMode(with:expectedValues:expectedValueInterval:completion:)

Declaration

func changeToMode(with params: MTROvenModeClusterChangeToModeParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?, completion: @escaping  @Sendable (MTROvenModeClusterChangeToModeResponseParams?, (any Error)?) -> Void)
func changeToMode(with params: MTROvenModeClusterChangeToModeParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTROvenModeClusterChangeToModeResponseParams