---
title: "startDiagnostics(with:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterenergyevse/startdiagnostics(with:completion:)"
---

# startDiagnostics(with:completion:)

Command StartDiagnostics

## Declaration

```swift
func startDiagnostics(with params: MTREnergyEVSEClusterStartDiagnosticsParams?, completion: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func startDiagnostics(with params: MTREnergyEVSEClusterStartDiagnosticsParams?) async throws
```

## Discussion

Discussion Allows a client to put the EVSE into a self-diagnostics mode.
