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

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

## Declaration

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

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