diff --git a/ocpp/v16/enums.py b/ocpp/v16/enums.py index e80175d01..b00792ccd 100644 --- a/ocpp/v16/enums.py +++ b/ocpp/v16/enums.py @@ -13,56 +13,6 @@ class StrEnum(str, Enum): # pragma: no cover class Action(StrEnum): """An Action is a required part of a Call message.""" - def __init__(self, *args, **kwargs): - warn( - message="Action enum contains deprecated members and will be removed in " - "the next major release, please use snake case members.", - category=DeprecationWarning, - ) - - # --------- Soon to be deprecated --------------------- - Authorize = "Authorize" - BootNotification = "BootNotification" - CancelReservation = "CancelReservation" - CertificateSigned = "CertificateSigned" - ChangeAvailability = "ChangeAvailability" - ChangeConfiguration = "ChangeConfiguration" - ClearCache = "ClearCache" - ClearChargingProfile = "ClearChargingProfile" - DataTransfer = "DataTransfer" - DeleteCertificate = "DeleteCertificate" - DiagnosticsStatusNotification = "DiagnosticsStatusNotification" - ExtendedTriggerMessage = "ExtendedTriggerMessage" - FirmwareStatusNotification = "FirmwareStatusNotification" - GetCompositeSchedule = "GetCompositeSchedule" - GetConfiguration = "GetConfiguration" - GetDiagnostics = "GetDiagnostics" - GetInstalledCertificateIds = "GetInstalledCertificateIds" - GetLocalListVersion = "GetLocalListVersion" - GetLog = "GetLog" - Heartbeat = "Heartbeat" - InstallCertificate = "InstallCertificate" - LogStatusNotification = "LogStatusNotification" - MeterValues = "MeterValues" - RemoteStartTransaction = "RemoteStartTransaction" - RemoteStopTransaction = "RemoteStopTransaction" - ReserveNow = "ReserveNow" - Reset = "Reset" - SecurityEventNotification = "SecurityEventNotification" - SendLocalList = "SendLocalList" - SetChargingProfile = "SetChargingProfile" - SignCertificate = "SignCertificate" - SignedFirmwareStatusNotification = "SignedFirmwareStatusNotification" - SignedUpdateFirmware = "SignedUpdateFirmware" - StartTransaction = "StartTransaction" - StatusNotification = "StatusNotification" - StopTransaction = "StopTransaction" - TriggerMessage = "TriggerMessage" - UnlockConnector = "UnlockConnector" - UpdateFirmware = "UpdateFirmware" - - # -------------------------------------------------------- - authorize = "Authorize" boot_notification = "BootNotification" cancel_reservation = "CancelReservation" diff --git a/ocpp/v201/enums.py b/ocpp/v201/enums.py index 2f903ca75..79a701fdf 100644 --- a/ocpp/v201/enums.py +++ b/ocpp/v201/enums.py @@ -13,80 +13,6 @@ class StrEnum(str, Enum): # pragma: no cover class Action(StrEnum): """An Action is a required part of a Call message.""" - def __init__(self, *args, **kwargs): - warn( - message="Action enum contains deprecated members and will be removed in " - "the next major release, please use snake case members.", - category=DeprecationWarning, - ) - - # --------- Soon to be deprecated --------------------- - Authorize = "Authorize" - BootNotification = "BootNotification" - CancelReservation = "CancelReservation" - CertificateSigned = "CertificateSigned" - ChangeAvailability = "ChangeAvailability" - ClearCache = "ClearCache" - ClearChargingProfile = "ClearChargingProfile" - ClearDisplayMessage = "ClearDisplayMessage" - ClearedChargingLimit = "ClearedChargingLimit" - ClearVariableMonitoring = "ClearVariableMonitoring" - CostUpdated = "CostUpdated" - CustomerInformation = "CustomerInformation" - DataTransfer = "DataTransfer" - DeleteCertificate = "DeleteCertificate" - FirmwareStatusNotification = "FirmwareStatusNotification" - Get15118EVCertificate = "Get15118EVCertificate" - GetBaseReport = "GetBaseReport" - GetCertificateStatus = "GetCertificateStatus" - GetChargingProfiles = "GetChargingProfiles" - GetCompositeSchedule = "GetCompositeSchedule" - GetDisplayMessages = "GetDisplayMessages" - GetInstalledCertificateIds = "GetInstalledCertificateIds" - GetLocalListVersion = "GetLocalListVersion" - GetLog = "GetLog" - GetMonitoringReport = "GetMonitoringReport" - GetReport = "GetReport" - GetTransactionStatus = "GetTransactionStatus" - GetVariables = "GetVariables" - Heartbeat = "Heartbeat" - InstallCertificate = "InstallCertificate" - LogStatusNotification = "LogStatusNotification" - MeterValues = "MeterValues" - NotifyChargingLimit = "NotifyChargingLimit" - NotifyCustomerInformation = "NotifyCustomerInformation" - NotifyDisplayMessages = "NotifyDisplayMessages" - NotifyEVChargingNeeds = "NotifyEVChargingNeeds" - NotifyEVChargingSchedule = "NotifyEVChargingSchedule" - NotifyEvent = "NotifyEvent" - NotifyMonitoringReport = "NotifyMonitoringReport" - NotifyReport = "NotifyReport" - PublishFirmware = "PublishFirmware" - PublishFirmwareStatusNotification = "PublishFirmwareStatusNotification" - ReportChargingProfiles = "ReportChargingProfiles" - RequestStartTransaction = "RequestStartTransaction" - RequestStopTransaction = "RequestStopTransaction" - ReservationStatusUpdate = "ReservationStatusUpdate" - ReserveNow = "ReserveNow" - Reset = "Reset" - SecurityEventNotification = "SecurityEventNotification" - SendLocalList = "SendLocalList" - SetChargingProfile = "SetChargingProfile" - SetDisplayMessage = "SetDisplayMessage" - SetMonitoringBase = "SetMonitoringBase" - SetMonitoringLevel = "SetMonitoringLevel" - SetNetworkProfile = "SetNetworkProfile" - SetVariableMonitoring = "SetVariableMonitoring" - SetVariables = "SetVariables" - SignCertificate = "SignCertificate" - StatusNotification = "StatusNotification" - TransactionEvent = "TransactionEvent" - TriggerMessage = "TriggerMessage" - UnlockConnector = "UnlockConnector" - UnpublishFirmware = "UnpublishFirmware" - UpdateFirmware = "UpdateFirmware" - # -------------------------------------------------------- - authorize = "Authorize" boot_notification = "BootNotification" cancel_reservation = "CancelReservation"