nordicopen / pyeasee

Easee EV charger API python library
MIT License
39 stars 12 forks source link

Include "error" in status #26

Closed tmjo closed 4 years ago

tmjo commented 4 years ago

Offical status from Easee. Seems we have good names, although not exact match, but Easee also have differences between app/web etc. The unknown status is confirmed as ERROR.

OpModeType { 
    /// <summary> /// No car connected. /// </summary> Disconnected = 1, 
    /// <summary> /// Car connected, charger is waiting for load balancer or remote authorization. SuspendedEVSE. /// </summary> AwaitingStart = 2, 
    /// <summary> /// Charging. /// </summary> Charging = 3, 
    /// <summary> /// Car has paused/stopped charging. /// </summary> Completed = 4, 
    /// <summary> /// Error in charger. /// </summary> Error = 5, 
    /// <summary> /// Charger is waiting for car to take energy. SuspendedEV. /// </summary> ReadyToCharge = 6
}
fondberg commented 4 years ago

I think #28 makes this redundant

tmjo commented 4 years ago

Yes, it is redundant now. Closing.