fromString

Safely parses a string to ChargerConnectionStatus, returning UNKNOWN for unrecognized values.

Return

The corresponding ChargerConnectionStatus or UNKNOWN if not recognized.

Parameters

value

The string value to parse.