Skip to content

Commit 5fc65c4

Browse files
correction to v201
1 parent 3f5ed5a commit 5fc65c4

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

ocpp/v16/enums.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -753,8 +753,7 @@ class UnitOfMeasure(str, Enum):
753753
"""
754754
Allowable values of the optional "unit" field of a Value element, as used
755755
in MeterValues.req and StopTransaction.req messages. Default value of
756-
"unit" is always "Wh". Also used in 2.0.1 component/variables -
757-
specifically the unit in variableCharacteristics.
756+
"unit" is always "Wh".
758757
"""
759758

760759
wh = "Wh"
@@ -774,7 +773,6 @@ class UnitOfMeasure(str, Enum):
774773
k = "K"
775774
percent = "Percent"
776775
hertz = "Hertz"
777-
b = "Bytes"
778776

779777

780778
class UnlockStatus(str, Enum):

ocpp/v201/enums.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1244,7 +1244,8 @@ class UnitOfMeasureType(str, Enum):
12441244
"""
12451245
Allowable values of the optional "unit" field of a Value element, as used
12461246
in MeterValues.req and StopTransaction.req messages. Default value of
1247-
"unit" is always "Wh".
1247+
"unit" is always "Wh". Also used in component/variables -
1248+
specifically the unit in variableCharacteristics.
12481249
"""
12491250

12501251
asu = "ASU"

0 commit comments

Comments
 (0)