toggle(with:completion:)

Declaration

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