changeToMode(with:completion:)

Declaration

func changeToMode(with params: MTRRVCRunModeClusterChangeToModeParams, completion: @escaping  @Sendable (MTRRVCRunModeClusterChangeToModeResponseParams?, (any Error)?) -> Void)
func changeToMode(with params: MTRRVCRunModeClusterChangeToModeParams) async throws -> MTRRVCRunModeClusterChangeToModeResponseParams