diff --git a/CHANGELOG.md b/CHANGELOG.md index 149f2876b..4a476590a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ # Change log +- [#557](https://github.com/mobilityhouse/ocpp/issues/557) OCPP 2.0.1 Wrong data type in CostUpdated total_cost - [#564](https://github.com/mobilityhouse/ocpp/issues/564) Add support For Python 3.11 and 3.12 - [#583](https://github.com/mobilityhouse/ocpp/issues/583) OCPP v1.6/v2.0.1 deprecate dataclasses from calls and call results with the suffix 'Payload' diff --git a/ocpp/v201/call.py b/ocpp/v201/call.py index 461f37365..ddc681606 100644 --- a/ocpp/v201/call.py +++ b/ocpp/v201/call.py @@ -71,7 +71,7 @@ class ClearedChargingLimit: @dataclass class CostUpdated: - total_cost: int + total_cost: float transaction_id: str custom_data: Optional[Dict[str, Any]] = None