toggle(with:completionHandler:)

Declaration

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