# DeviceEnergyManagementTrait.Feature

# DeviceEnergyManagementTrait.Feature


```
data class DeviceEnergyManagementTrait.Feature
```

<br />

*** ** * ** ***

DeviceEnergyManagement trait FeatureMap.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.Feature#Feature(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)( powerAdjustment: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, powerForecastReporting: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, stateForecastReporting: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, startTimeAdjustment: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, pausable: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, forecastAdjustment: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, constraintBasedAdjustment: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html )` Creates the Feature data class. |

| ### Public functions |
|---|---|
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.Feature#toRaw()()` Convert this ClusterBitmap to raw (bytes) format |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.Feature#constraintBasedAdjustment()` Allows an EMS to request constraints to an ESA's planned operation. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.Feature#forecastAdjustment()` Allows an EMS to adjust an ESA's planned operation. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.Feature#pausable()` Allows an EMS to pause an ESA's planned operation. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.Feature#powerAdjustment()` Allows an EMS to make a temporary power adjustment within the limits offered by the ESA. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.Feature#powerForecastReporting()` Allows an ESA to advertise its indicative future power consumption vs time. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.Feature#startTimeAdjustment()` Allows an EMS to delay an ESA's planned operation. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DeviceEnergyManagementTrait.Feature#stateForecastReporting()` Allows an ESA to advertise its indicative future state vs time. |

## Public constructors

### Feature

```
Feature(
    powerAdjustment: Boolean = false,
    powerForecastReporting: Boolean = false,
    stateForecastReporting: Boolean = false,
    startTimeAdjustment: Boolean = false,
    pausable: Boolean = false,
    forecastAdjustment: Boolean = false,
    constraintBasedAdjustment: Boolean = false
)
```

Creates the Feature data class.

## Public functions

### toRaw

```
open fun toRaw(): ULong
```

Convert this ClusterBitmap to raw (bytes) format

## Public properties

### constraintBasedAdjustment

```
val constraintBasedAdjustment: Boolean
```

Allows an EMS to request constraints to an ESA's planned operation.

### forecastAdjustment

```
val forecastAdjustment: Boolean
```

Allows an EMS to adjust an ESA's planned operation.

### pausable

```
val pausable: Boolean
```

Allows an EMS to pause an ESA's planned operation.

### powerAdjustment

```
val powerAdjustment: Boolean
```

Allows an EMS to make a temporary power adjustment within the limits offered by the ESA.

### powerForecastReporting

```
val powerForecastReporting: Boolean
```

Allows an ESA to advertise its indicative future power consumption vs time.

### startTimeAdjustment

```
val startTimeAdjustment: Boolean
```

Allows an EMS to delay an ESA's planned operation.

### stateForecastReporting

```
val stateForecastReporting: Boolean
```

Allows an ESA to advertise its indicative future state vs time.