EnergyEvseTrait.SupplyStateEnum

enum EnergyEvseTrait.SupplyStateEnum : Enum, ClusterEnum


Whether the electric vehicle is allowed to charge or disharge.

Summary

Enum Values

ChargingEnabled

The electric vehicle is allowed to charge.

Disabled

The electric vehicle is not allowed to charge or discharge.

DisabledDiagnostics

The electric vehicle is not allowed to charge or discharge due to being in a diagnostics mode.

DisabledError

The electric vehicle is not allowed to charge or discharge due to an error.

DischargingEnabled

The electric vehicle is allowed to discharge.

UnknownValue

The enum value is out of range.

Public functions

EnergyEvseTrait.SupplyStateEnum
valueOf(value: String)

Returns the enum constant of this type with the specified name.

Array<EnergyEvseTrait.SupplyStateEnum>

Returns an array containing the constants of this enum type, in the order they're declared.

Public properties

open String
open String
open ULong

Enum Values

ChargingEnabled

val EnergyEvseTrait.SupplyStateEnum.ChargingEnabledEnergyEvseTrait.SupplyStateEnum

The electric vehicle is allowed to charge.

Disabled

val EnergyEvseTrait.SupplyStateEnum.DisabledEnergyEvseTrait.SupplyStateEnum

The electric vehicle is not allowed to charge or discharge.

DisabledDiagnostics

val EnergyEvseTrait.SupplyStateEnum.DisabledDiagnosticsEnergyEvseTrait.SupplyStateEnum

The electric vehicle is not allowed to charge or discharge due to being in a diagnostics mode.

DisabledError

val EnergyEvseTrait.SupplyStateEnum.DisabledErrorEnergyEvseTrait.SupplyStateEnum

The electric vehicle is not allowed to charge or discharge due to an error.

DischargingEnabled

val EnergyEvseTrait.SupplyStateEnum.DischargingEnabledEnergyEvseTrait.SupplyStateEnum

The electric vehicle is allowed to discharge.

UnknownValue

val EnergyEvseTrait.SupplyStateEnum.UnknownValueEnergyEvseTrait.SupplyStateEnum

The enum value is out of range. For example, a newer Matter cluster definition may support enum values not yet supported by the Home APIs.

Public functions

valueOf

fun valueOf(value: String): EnergyEvseTrait.SupplyStateEnum

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

fun values(): Array<EnergyEvseTrait.SupplyStateEnum>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

Public properties

traitId

open val traitIdString

typeName

open val typeNameString

value

open val valueULong