toggle(with:completion:)
Declaration
func toggle(with params: MTROnOffClusterToggleParams?, completion: @escaping @Sendable ((any Error)?) -> Void)func toggle(with params: MTROnOffClusterToggleParams?) async throwsfunc toggle(with params: MTROnOffClusterToggleParams?, completion: @escaping @Sendable ((any Error)?) -> Void)func toggle(with params: MTROnOffClusterToggleParams?) async throws