---
title: "modifyForecastRequest(with:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterdeviceenergymanagement/modifyforecastrequest(with:completion:)"
---

# modifyForecastRequest(with:completion:)

Command ModifyForecastRequest

## Declaration

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

```swift
func modifyForecastRequest(with params: MTRDeviceEnergyManagementClusterModifyForecastRequestParams) async throws
```

## Discussion

Discussion Allows a client to modify a Forecast within the limits allowed by the ESA.
