From f1f9f172bd626fdd3ec19706762349d54709093c Mon Sep 17 00:00:00 2001 From: Jared-Newell-Mobility <119603687+Jared-Newell-Mobility@users.noreply.github.com> Date: Wed, 7 Feb 2024 14:42:05 +0100 Subject: [PATCH] v201.datatypes.ChargingNeedsType.request_energy_transfer is mistyped (#496) see issue https://github.com/mobilityhouse/ocpp/issues/430 --- CHANGELOG.md | 2 ++ ocpp/v201/datatypes.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 48f2b4eda..ac353b956 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -51,6 +51,8 @@ - [#504](https://github.com/mobilityhouse/ocpp/pull/504) Add missing tech_info attribute to v2.0.1 EventDataType. Thanks [@LokiHokie](https://github.com/LokiHokie) - [#381](https://github.com/mobilityhouse/ocpp/issues/381) Add FormationError and OccurrenceConstraintViolationError. +- [#373](https://github.com/mobilityhouse/ocpp/issues/373) v201.datatypes.ChargingNeedsType.request_energy_transfer is mistyped + ## 0.21.0 (2023-10-19) - [#492] Minor fixes _handle_call doc string - Thanks @drc38 diff --git a/ocpp/v201/datatypes.py b/ocpp/v201/datatypes.py index b9a2fabd7..1c5c65e88 100644 --- a/ocpp/v201/datatypes.py +++ b/ocpp/v201/datatypes.py @@ -101,7 +101,7 @@ class ChargingNeedsType: ChargingNeedsType is used by: NotifyEVChargingNeedsRequest """ - request_energy_transfer: enums.EnergyTransferModeType + requested_energy_transfer: enums.EnergyTransferModeType departure_time: Optional[str] = None ac_charging_parameters: Optional[ACChargingParametersType] = None dc_charging_parameters: Optional[DCChargingParametersType] = None