off(with:completionHandler:)

Declaration

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