---
title: "startDiagnostics(with:expectedValues:expectedValueInterval:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclusterenergyevse/startdiagnostics(with:expectedvalues:expectedvalueinterval:completion:)"
---

# startDiagnostics(with:expectedValues:expectedValueInterval:completion:)

## Declaration

```swift
func startDiagnostics(with params: MTREnergyEVSEClusterStartDiagnosticsParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?, completion: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func startDiagnostics(with params: MTREnergyEVSEClusterStartDiagnosticsParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
```
