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

# disable(with:completion:)

Command Disable

## Declaration

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

```swift
func disable(with params: MTREnergyEVSEClusterDisableParams?) async throws
```

## Discussion

Discussion Allows a client to disable the EVSE from charging and discharging.
