# EnergyEvseModeTrait.Feature

# EnergyEvseModeTrait.Feature


```
data class EnergyEvseModeTrait.Feature
```

<br />

*** ** * ** ***

EnergyEvseMode cluster FeatureMap.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseModeTrait.Feature#Feature(kotlin.Boolean)(onOff: 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/EnergyEvseModeTrait.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/EnergyEvseModeTrait.Feature#onOff()` The EVSE device can be turned on and off. |

## Public constructors

### Feature

```
Feature(onOff: Boolean = false)
```

Creates the Feature data class.

## Public functions

### toRaw

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

Convert this ClusterBitmap to raw (bytes) format

## Public properties

### onOff

```
val onOff: Boolean
```

The EVSE device can be turned on and off. There is a dependency on the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OnOff` cluster.