diff --git a/pyeasee/charger.py b/pyeasee/charger.py index 37ec61f..1d7300d 100644 --- a/pyeasee/charger.py +++ b/pyeasee/charger.py @@ -8,12 +8,12 @@ _LOGGER = logging.getLogger(__name__) STATUS = { - 1: "STANDBY", - 2: "PAUSED", + 1: "DISCONNECTED", + 2: "AWAITING_START", 3: "CHARGING", - 4: "READY_TO_CHARGE", - 5: "UNKNOWN", - 6: "CAR_CONNECTED", + 4: "COMPLETED", + 5: "ERROR", + 6: "READY_TO_CHARGE", } NODE_TYPE = {1: "Master", 2: "Extender"} @@ -24,10 +24,19 @@ # Work-in-progress, must be taken with a pinch of salt, as per now just reverse engineering of observations until API properly documented None: "No reason", 0: "No reason, charging or ready to charge", + 1: "Charger paused", + 2: "Charger paused", + 3: "Charger paused", + 4: "Charger paused", + 5: "Charger paused", + 6: "Charger paused", + 9: "Error no current", 50: "Secondary unit not requesting current or no car connected", + 51: "Charger paused", 52: "Charger paused", 53: "Charger disabled", 54: "Waiting for schedule", + 55: "Pending auth", }