From 17b4b80c57c2fdf01b6178b2edd12c9c886679bf Mon Sep 17 00:00:00 2001 From: Jared Newell Date: Tue, 7 Nov 2023 08:13:41 +0100 Subject: [PATCH] update to match Appendix 2. Standardized Units Of Measure --- CHANGELOG.md | 2 ++ ocpp/v201/enums.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 021a35bbd..c73bdfb79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Change log +- [#511](https://github.com/mobilityhouse/ocpp/issues/511) 2.0.1 Units of Measure update to match Appendix 2. Standardized Units Of Measure + ## 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). diff --git a/ocpp/v201/enums.py b/ocpp/v201/enums.py index 30b12a756..e76fa43ef 100644 --- a/ocpp/v201/enums.py +++ b/ocpp/v201/enums.py @@ -1256,8 +1256,8 @@ class UnitOfMeasureType(str, Enum): lx = "lx" m = "m" ms2 = "ms2" - n = "n" - ohm = "ohm" + n = "N" + ohm = "Ohm" kpa = "kPa" percent = "Percent" rh = "RH"