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