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

# enableCharging(with:completion:)

Command EnableCharging

## Declaration

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

```swift
func enableCharging(with params: MTREnergyEVSEClusterEnableChargingParams) async throws
```

## Discussion

Discussion This command allows a client to enable the EVSE to charge an EV, and to provide or update the maximum and minimum charge current.
