Skip to content

Commit

Permalink
V2.0.1 unit of measure update docstring to allow use for variable cha…
Browse files Browse the repository at this point in the history
…racteristics (#514)

Fixes #510
  • Loading branch information
Jared-Newell-Mobility authored Nov 7, 2023
1 parent 5ba31b2 commit 7e14b16
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Change log


- [#510](https://github.com/mobilityhouse/ocpp/issues/510) v2.0.1 UnitOfMeasureType - Enums missing and update docstring to allow use for variableCharacteristics
- [#508](https://github.com/mobilityhouse/ocpp/issues/508) Exception - OccurrenceConstraintViolationError doc string correction


## 0.22.0 (2023-11-03)

- [#493](https://github.com/mobilityhouse/ocpp/issues/493) Reduce use of NotSupportedError in favor of NotImplementedError. Thanks [drc38](@https://github.com/drc38).
Expand Down
3 changes: 2 additions & 1 deletion ocpp/v201/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,8 @@ class UnitOfMeasureType(str, Enum):
"""
Allowable values of the optional "unit" field of a Value element, as used
in MeterValues.req and StopTransaction.req messages. Default value of
"unit" is always "Wh".
"unit" is always "Wh". Also used in component/variables -
specifically the unit in variableCharacteristics.
"""

asu = "ASU"
Expand Down

0 comments on commit 7e14b16

Please sign in to comment.