# DeviceEnergyManagementCommands

# DeviceEnergyManagementCommands


```
@Generated(value = ["GoogleHomePlatformCodegen"])
interface DeviceEnergyManagementCommands
```

<br />

Known direct subclasses [DeviceEnergyManagement](https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagement)

|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagement` | API for the DeviceEnergyManagement trait. |

*** ** * ** ***

Commands for the DeviceEnergyManagement trait.

## Summary

| ### Public functions |
|---|---|
| `suspend https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#cancelPowerAdjustRequest()()` Allows a client, such as an EMS, to cancel an ongoing power adjustment request. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#cancelPowerAdjustRequestBatchable()()` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#cancelPowerAdjustRequest()` command. |
| `suspend https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#cancelRequest()()` Allows an EMS to request cancellation of a previous adjustment request made in a `StartTimeAdjustRequest`, `ModifyForecastRequest`, or `RequestConstraintBasedForecast` command. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#cancelRequestBatchable()()` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#cancelRequest()` command. |
| `suspend https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#modifyForecastRequest(kotlin.UInt,kotlin.collections.List,com.google.home.matter.standard.DeviceEnergyManagementTrait.AdjustmentCauseEnum)( forecastId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html, slotAdjustments: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.SlotAdjustmentStruct>, cause: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.AdjustmentCauseEnum )` Allows an EMS to modify a forecast within the limits allowed by the ESA. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#modifyForecastRequestBatchable(kotlin.UInt,kotlin.collections.List,com.google.home.matter.standard.DeviceEnergyManagementTrait.AdjustmentCauseEnum)( forecastId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html, slotAdjustments: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.SlotAdjustmentStruct>, cause: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.AdjustmentCauseEnum )` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#modifyForecastRequest(kotlin.UInt,kotlin.collections.List,com.google.home.matter.standard.DeviceEnergyManagementTrait.AdjustmentCauseEnum)` command. |
| `suspend https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#pauseRequest(kotlin.UInt,com.google.home.matter.standard.DeviceEnergyManagementTrait.AdjustmentCauseEnum)( duration: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html, cause: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.AdjustmentCauseEnum )` Allows a client to temporarily pause an operation and reduce the energy demand on the ESA. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#pauseRequestBatchable(kotlin.UInt,com.google.home.matter.standard.DeviceEnergyManagementTrait.AdjustmentCauseEnum)( duration: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html, cause: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.AdjustmentCauseEnum )` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#pauseRequest(kotlin.UInt,com.google.home.matter.standard.DeviceEnergyManagementTrait.AdjustmentCauseEnum)` command. |
| `suspend https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#powerAdjustRequest(kotlin.Long,kotlin.UInt,com.google.home.matter.standard.DeviceEnergyManagementTrait.AdjustmentCauseEnum)( power: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html, duration: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html, cause: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.AdjustmentCauseEnum )` Allows a client, such as an EMS, to request an adjustment in the power consumption of an ESA for a specified duration. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#powerAdjustRequestBatchable(kotlin.Long,kotlin.UInt,com.google.home.matter.standard.DeviceEnergyManagementTrait.AdjustmentCauseEnum)( power: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html, duration: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html, cause: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.AdjustmentCauseEnum )` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#powerAdjustRequest(kotlin.Long,kotlin.UInt,com.google.home.matter.standard.DeviceEnergyManagementTrait.AdjustmentCauseEnum)` command. |
| `suspend https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#requestConstraintBasedForecast(kotlin.collections.List,com.google.home.matter.standard.DeviceEnergyManagementTrait.AdjustmentCauseEnum)( constraints: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.ConstraintsStruct>, cause: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.AdjustmentCauseEnum )` Allows an EMS to request the ESA to recompute its forecast based on power and time constraints. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#requestConstraintBasedForecastBatchable(kotlin.collections.List,com.google.home.matter.standard.DeviceEnergyManagementTrait.AdjustmentCauseEnum)( constraints: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.ConstraintsStruct>, cause: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.AdjustmentCauseEnum )` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#requestConstraintBasedForecast(kotlin.collections.List,com.google.home.matter.standard.DeviceEnergyManagementTrait.AdjustmentCauseEnum)` command. |
| `suspend https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#resumeRequest()()` Allows a client to cancel the `PauseRequest` command and enable the resumption of the previous operation. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#resumeRequestBatchable()()` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#resumeRequest()` command. |
| `suspend https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#startTimeAdjustRequest(kotlin.UInt,com.google.home.matter.standard.DeviceEnergyManagementTrait.AdjustmentCauseEnum)( requestedStartTime: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html, cause: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.AdjustmentCauseEnum )` Allows a client to adjust the start time of a forecast sequence that has not yet started operation. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#startTimeAdjustRequestBatchable(kotlin.UInt,com.google.home.matter.standard.DeviceEnergyManagementTrait.AdjustmentCauseEnum)( requestedStartTime: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html, cause: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.AdjustmentCauseEnum )` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#startTimeAdjustRequest(kotlin.UInt,com.google.home.matter.standard.DeviceEnergyManagementTrait.AdjustmentCauseEnum)` command. |

## Public functions

### cancelPowerAdjustRequest

```
suspend fun cancelPowerAdjustRequest(): Unit
```

Allows a client, such as an EMS, to cancel an ongoing power adjustment request. The ESA should return to its normal power consumption state after the request is canceled.

### cancelPowerAdjustRequestBatchable

```
fun cancelPowerAdjustRequestBatchable(): BatchableCommand<Unit>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#cancelPowerAdjustRequest()` command.

Allows a client, such as an EMS, to cancel an ongoing power adjustment request. The ESA should return to its normal power consumption state after the request is canceled.

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | BatchableCommand |

### cancelRequest

```
suspend fun cancelRequest(): Unit
```

Allows an EMS to request cancellation of a previous adjustment request made in a `StartTimeAdjustRequest`, `ModifyForecastRequest`, or `RequestConstraintBasedForecast` command.

### cancelRequestBatchable

```
fun cancelRequestBatchable(): BatchableCommand<Unit>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#cancelRequest()` command.

Allows an EMS to request cancellation of a previous adjustment request made in a `StartTimeAdjustRequest`, `ModifyForecastRequest`, or `RequestConstraintBasedForecast` command.

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | BatchableCommand |

### modifyForecastRequest

```
suspend fun modifyForecastRequest(
    forecastId: UInt,
    slotAdjustments: List<DeviceEnergyManagementTrait.SlotAdjustmentStruct>,
    cause: DeviceEnergyManagementTrait.AdjustmentCauseEnum
): Unit
```

Allows an EMS to modify a forecast within the limits allowed by the ESA.

| Parameters |
|---|---|
| `slotAdjustments: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.SlotAdjustmentStruct>` | A list of `slotAdjustment` parameters that should be modified in the corresponding forecast. |
| `cause: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.AdjustmentCauseEnum` | The cause of the request from the EMS. |

### modifyForecastRequestBatchable

```
fun modifyForecastRequestBatchable(
    forecastId: UInt,
    slotAdjustments: List<DeviceEnergyManagementTrait.SlotAdjustmentStruct>,
    cause: DeviceEnergyManagementTrait.AdjustmentCauseEnum
): BatchableCommand<Unit>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#modifyForecastRequest(kotlin.UInt,kotlin.collections.List,com.google.home.matter.standard.DeviceEnergyManagementTrait.AdjustmentCauseEnum)` command.

Allows an EMS to modify a forecast within the limits allowed by the ESA.

| Parameters |
|---|---|
| `slotAdjustments: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.SlotAdjustmentStruct>` | A list of `slotAdjustment` parameters that should be modified in the corresponding forecast. |
| `cause: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.AdjustmentCauseEnum` | The cause of the request from the EMS. |

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | BatchableCommand |

### pauseRequest

```
suspend fun pauseRequest(
    duration: UInt,
    cause: DeviceEnergyManagementTrait.AdjustmentCauseEnum
): Unit
```

Allows a client to temporarily pause an operation and reduce the energy demand on the ESA.

| Parameters |
|---|---|
| `duration: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html` | The duration, in seconds, for which the ESA should pause its operation. |
| `cause: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.AdjustmentCauseEnum` | The cause of the request from the EMS. |

### pauseRequestBatchable

```
fun pauseRequestBatchable(
    duration: UInt,
    cause: DeviceEnergyManagementTrait.AdjustmentCauseEnum
): BatchableCommand<Unit>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#pauseRequest(kotlin.UInt,com.google.home.matter.standard.DeviceEnergyManagementTrait.AdjustmentCauseEnum)` command.

Allows a client to temporarily pause an operation and reduce the energy demand on the ESA.

| Parameters |
|---|---|
| `duration: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html` | The duration, in seconds, for which the ESA should pause its operation. |
| `cause: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.AdjustmentCauseEnum` | The cause of the request from the EMS. |

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | BatchableCommand |

### powerAdjustRequest

```
suspend fun powerAdjustRequest(
    power: Long,
    duration: UInt,
    cause: DeviceEnergyManagementTrait.AdjustmentCauseEnum
): Unit
```

Allows a client, such as an EMS, to request an adjustment in the power consumption of an ESA for a specified duration.

| Parameters |
|---|---|
| `power: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html` | The power, in milliwatts, that the ESA can use during the adjustment period. This value must be within the range of `MinPower` and `MaxPower` in the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.PowerAdjustStruct`. |
| `duration: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html` | The duration, in seconds, for which the ESA can adjust its power consumption. This value must be within the range of `MinDuration` and `MaxDuration` in the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.PowerAdjustStruct`. |
| `cause: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.AdjustmentCauseEnum` | The cause of the request from the EMS. |

### powerAdjustRequestBatchable

```
fun powerAdjustRequestBatchable(
    power: Long,
    duration: UInt,
    cause: DeviceEnergyManagementTrait.AdjustmentCauseEnum
): BatchableCommand<Unit>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#powerAdjustRequest(kotlin.Long,kotlin.UInt,com.google.home.matter.standard.DeviceEnergyManagementTrait.AdjustmentCauseEnum)` command.

Allows a client, such as an EMS, to request an adjustment in the power consumption of an ESA for a specified duration.

| Parameters |
|---|---|
| `power: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html` | The power, in milliwatts, that the ESA can use during the adjustment period. This value must be within the range of `MinPower` and `MaxPower` in the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.PowerAdjustStruct`. |
| `duration: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html` | The duration, in seconds, for which the ESA can adjust its power consumption. This value must be within the range of `MinDuration` and `MaxDuration` in the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.PowerAdjustStruct`. |
| `cause: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.AdjustmentCauseEnum` | The cause of the request from the EMS. |

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | BatchableCommand |

### requestConstraintBasedForecast

```
suspend fun requestConstraintBasedForecast(
    constraints: List<DeviceEnergyManagementTrait.ConstraintsStruct>,
    cause: DeviceEnergyManagementTrait.AdjustmentCauseEnum
): Unit
```

Allows an EMS to request the ESA to recompute its forecast based on power and time constraints.

| Parameters |
|---|---|
| `constraints: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.ConstraintsStruct>` | A series of turn-up or turn-down power constraints that the EMS is asking the ESA to adhere to in its forecast. For example, if a grid event requires devices to reduce power (turn down) between 4 p.m. and 6 p.m., and there is excess power on the grid overnight, this may cause an EMS to request that an ESA increase its power demand (turn up) between midnight and 6 a.m. |
| `cause: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.AdjustmentCauseEnum` | The cause of the request from the EMS. |

### requestConstraintBasedForecastBatchable

```
fun requestConstraintBasedForecastBatchable(
    constraints: List<DeviceEnergyManagementTrait.ConstraintsStruct>,
    cause: DeviceEnergyManagementTrait.AdjustmentCauseEnum
): BatchableCommand<Unit>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#requestConstraintBasedForecast(kotlin.collections.List,com.google.home.matter.standard.DeviceEnergyManagementTrait.AdjustmentCauseEnum)` command.

Allows an EMS to request the ESA to recompute its forecast based on power and time constraints.

| Parameters |
|---|---|
| `constraints: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.ConstraintsStruct>` | A series of turn-up or turn-down power constraints that the EMS is asking the ESA to adhere to in its forecast. For example, if a grid event requires devices to reduce power (turn down) between 4 p.m. and 6 p.m., and there is excess power on the grid overnight, this may cause an EMS to request that an ESA increase its power demand (turn up) between midnight and 6 a.m. |
| `cause: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.AdjustmentCauseEnum` | The cause of the request from the EMS. |

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | BatchableCommand |

### resumeRequest

```
suspend fun resumeRequest(): Unit
```

Allows a client to cancel the `PauseRequest` command and enable the resumption of the previous operation.

### resumeRequestBatchable

```
fun resumeRequestBatchable(): BatchableCommand<Unit>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#resumeRequest()` command.

Allows a client to cancel the `PauseRequest` command and enable the resumption of the previous operation.

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | BatchableCommand |

### startTimeAdjustRequest

```
suspend fun startTimeAdjustRequest(
    requestedStartTime: UInt,
    cause: DeviceEnergyManagementTrait.AdjustmentCauseEnum
): Unit
```

Allows a client to adjust the start time of a forecast sequence that has not yet started operation.

| Parameters |
|---|---|
| `requestedStartTime: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html` | The start time, in UTC, that the EMS requests the ESA to change its forecast sequence to. This value must be in the future. |
| `cause: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.AdjustmentCauseEnum` | The cause of the request from the EMS. |

### startTimeAdjustRequestBatchable

```
fun startTimeAdjustRequestBatchable(
    requestedStartTime: UInt,
    cause: DeviceEnergyManagementTrait.AdjustmentCauseEnum
): BatchableCommand<Unit>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementCommands#startTimeAdjustRequest(kotlin.UInt,com.google.home.matter.standard.DeviceEnergyManagementTrait.AdjustmentCauseEnum)` command.

Allows a client to adjust the start time of a forecast sequence that has not yet started operation.

| Parameters |
|---|---|
| `requestedStartTime: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html` | The start time, in UTC, that the EMS requests the ESA to change its forecast sequence to. This value must be in the future. |
| `cause: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.AdjustmentCauseEnum` | The cause of the request from the EMS. |

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | BatchableCommand |