Skip to content

Commit

Permalink
OCPP 2.0.1 Wrong data type in CostUpdated total_cost (mobilityhouse#596)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared-Newell-Mobility authored Feb 7, 2024
1 parent 2e71673 commit 84f7e7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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'

Expand Down
2 changes: 1 addition & 1 deletion ocpp/v201/call.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 84f7e7e

Please sign in to comment.