Skip to content

Commit f1f9f17

Browse files
v201.datatypes.ChargingNeedsType.request_energy_transfer is mistyped (#496)
see issue #430
1 parent 16b78a0 commit f1f9f17

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151
- [#504](https://github.com/mobilityhouse/ocpp/pull/504) Add missing tech_info attribute to v2.0.1 EventDataType. Thanks [@LokiHokie](https://github.com/LokiHokie)
5252
- [#381](https://github.com/mobilityhouse/ocpp/issues/381) Add FormationError and OccurrenceConstraintViolationError.
5353

54+
- [#373](https://github.com/mobilityhouse/ocpp/issues/373) v201.datatypes.ChargingNeedsType.request_energy_transfer is mistyped
55+
5456
## 0.21.0 (2023-10-19)
5557

5658
- [#492] Minor fixes _handle_call doc string - Thanks @drc38

ocpp/v201/datatypes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class ChargingNeedsType:
101101
ChargingNeedsType is used by: NotifyEVChargingNeedsRequest
102102
"""
103103

104-
request_energy_transfer: enums.EnergyTransferModeType
104+
requested_energy_transfer: enums.EnergyTransferModeType
105105
departure_time: Optional[str] = None
106106
ac_charging_parameters: Optional[ACChargingParametersType] = None
107107
dc_charging_parameters: Optional[DCChargingParametersType] = None

0 commit comments

Comments
 (0)