<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macCatalyst: 18.4.0 -",
    "macOS: 15.4.0 -",
    "tvOS: 18.4.0 -",
    "visionOS: 2.4.0 -",
    "watchOS: 11.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Matter",
  "identifier" : "/documentation/Matter/MTRBaseClusterEnergyEVSE/enableCharging(with:completion:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Matter"
    ],
    "preciseIdentifier" : "c:objc(cs)MTRBaseClusterEnergyEVSE(im)enableChargingWithParams:completion:"
  },
  "title" : "enableCharging(with:completion:)"
}
-->

# enableCharging(with:completion:)

Command EnableCharging

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

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

## 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)