# EnergyEvseTrait.Feature

# EnergyEvseTrait.Feature


```
data class EnergyEvseTrait.Feature
```

<br />

*** ** * ** ***

EnergyEvse cluster FeatureMap.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.Feature#Feature(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)( chargingPreferences: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, soCReporting: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, plugAndCharge: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, rfid: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, v2x: 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/EnergyEvseTrait.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/EnergyEvseTrait.Feature#chargingPreferences()` The EVSE supports storing user charging preferences. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.Feature#plugAndCharge()` The EVSE supports Plug \& Charge (PnC) functionality. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.Feature#rfid()` The EVSE is fitted with an RFID reader. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.Feature#soCReporting()` The EVSE supports reporting of the vehicle's State of Charge (SoC). |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.Feature#v2x()` The EVSE supports bidirectional charging and discharging. |

## Public constructors

### Feature

```
Feature(
    chargingPreferences: Boolean = false,
    soCReporting: Boolean = false,
    plugAndCharge: Boolean = false,
    rfid: Boolean = false,
    v2x: Boolean = false
)
```

Creates the Feature data class.

## Public functions

### toRaw

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

Convert this ClusterBitmap to raw (bytes) format

## Public properties

### chargingPreferences

```
val chargingPreferences: Boolean
```

The EVSE supports storing user charging preferences.

### plugAndCharge

```
val plugAndCharge: Boolean
```

The EVSE supports Plug \& Charge (PnC) functionality.

### rfid

```
val rfid: Boolean
```

The EVSE is fitted with an RFID reader.

### soCReporting

```
val soCReporting: Boolean
```

The EVSE supports reporting of the vehicle's State of Charge (SoC).

### v2x

```
val v2x: Boolean
```

The EVSE supports bidirectional charging and discharging.