changeToMode(with:completion:)
Command ChangeToMode
Declaration
func changeToMode(with params: MTRWaterHeaterModeClusterChangeToModeParams, completion: @escaping @Sendable (MTRWaterHeaterModeClusterChangeToModeResponseParams?, (any Error)?) -> Void)func changeToMode(with params: MTRWaterHeaterModeClusterChangeToModeParams) async throws -> MTRWaterHeaterModeClusterChangeToModeResponseParamsDiscussion
This command is used to change device modes.