mobilityhouse / ocpp

Python implementation of the Open Charge Point Protocol (OCPP).
MIT License
766 stars 298 forks source link

Remove v1.6 deprecated enums members #574

Closed Jared-Newell-Mobility closed 7 months ago

Jared-Newell-Mobility commented 7 months ago

Quite a few OCPP v1.6 enums have variants that don't follow Python naming guide lines. For example:

class ChargePointStatus(StrEnum):
   suspendedevse = "SuspendedEVSE"
   ...

For a long time, these variants have been deprecated in favor of members following Python naming guide lines:

class ChargePointStatus(StrEnum):
   suspended_evse = "SuspendedEVSE"
   ...

This issue tracks the work to finally remove the deprecated, unpythonic members. Users should upgrade use the Pythonic members instead.

Jared-Newell-Mobility commented 7 months ago

Merged so will close