# EnergyEvseTrait.EnergyTransferStarted


```
interface EnergyEvseTrait.EnergyTransferStarted : ClusterStruct
```

<br />

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

|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvse.EnergyTransferStartedEvent` |   |

*** ** * ** ***

Notification that the electric vehicle has started charging or discharging.

## Summary

| ### Public functions |
|---|---|
| `open https://developers.home.google.com/reference/kotlin/com/google/home/StructDescriptor` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.EnergyTransferStarted#getDescriptor()()` Returns the descriptor for the struct. |
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html?` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.EnergyTransferStarted#getFieldValueById(kotlin.UInt)(tagId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html)` Returns the value of the field for the given tag ID. |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.EnergyTransferStarted#maximumCurrent()` The value of the maximum charging or discharging current in milliamps at the time the event was generated. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.EnergyTransferStarted#maximumDischargeCurrent()` Indicates the value of the maximum discharging current at the time the event was generated. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.EnergyTransferStarted#sessionId()` The value of the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.Attributes#sessionId()` attribute at the time the event was generated. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.StateEnum?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.EnergyTransferStarted#state()` The value of the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.Attributes#state()` attribute at the time the event was generated. |

## Public functions

### getDescriptor

```
@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor
```

Returns the descriptor for the struct.

### getFieldValueById

```
@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?
```

Returns the value of the field for the given tag ID.

## Public properties

### maximumCurrent

```
val maximumCurrent: Long?
```

The value of the maximum charging or discharging current in milliamps at the time the event was generated. This field is signed. A positive value indicates charging, and a negative value indicates discharging.

### maximumDischargeCurrent

```
val maximumDischargeCurrent: Long?
```

Indicates the value of the maximum discharging current at the time the event was generated.

### sessionId

```
val sessionId: UInt?
```

The value of the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.Attributes#sessionId()` attribute at the time the event was generated.

### state

```
val state: EnergyEvseTrait.StateEnum?
```

The value of the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.Attributes#state()` attribute at the time the event was generated.