changeToMode(with:completion:)
Command ChangeToMode
Declaration
func changeToMode(with params: MTRDishwasherModeClusterChangeToModeParams, completion: @escaping @Sendable (MTRDishwasherModeClusterChangeToModeResponseParams?, (any Error)?) -> Void)func changeToMode(with params: MTRDishwasherModeClusterChangeToModeParams) async throws -> MTRDishwasherModeClusterChangeToModeResponseParamsDiscussion
This command is used to change device modes. On receipt of this command the device SHALL respond with a ChangeToModeResponse command.