Contents

changeToMode(with:completion:)

Command ChangeToMode

Declaration

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

Discussion

This command is used to change device modes. On receipt of this command the device SHALL respond with a ChangeToModeResponse command.