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