From 7f1d59ea28597c731ca472e27deaa178d4d8bd9e Mon Sep 17 00:00:00 2001 From: Jared-Newell-Mobility <119603687+Jared-Newell-Mobility@users.noreply.github.com> Date: Wed, 7 Feb 2024 15:13:51 +0100 Subject: [PATCH] v16/schemas/StopTransaction.json missing "Hertz" #207 (#497) --- CHANGELOG.md | 2 ++ ocpp/v16/enums.py | 1 - tests/v16/test_v16_enums.py | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b4d13b36..0e89b92b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,6 +57,8 @@ - [#373](https://github.com/mobilityhouse/ocpp/issues/373) v201.datatypes.ChargingNeedsType.request_energy_transfer is mistyped +- [#207](https://github.com/mobilityhouse/ocpp/issues/207) v16/schemas/StopTransaction.json missing "Hertz" + ## 0.21.0 (2023-10-19) - [#492] Minor fixes _handle_call doc string - Thanks @drc38 diff --git a/ocpp/v16/enums.py b/ocpp/v16/enums.py index e413c4ec5..5cff0415d 100644 --- a/ocpp/v16/enums.py +++ b/ocpp/v16/enums.py @@ -681,7 +681,6 @@ class UnitOfMeasure(StrEnum): fahrenheit = "Fahrenheit" k = "K" percent = "Percent" - hertz = "Hertz" class UnlockStatus(StrEnum): diff --git a/tests/v16/test_v16_enums.py b/tests/v16/test_v16_enums.py index 61fbee918..077d7992a 100644 --- a/tests/v16/test_v16_enums.py +++ b/tests/v16/test_v16_enums.py @@ -389,7 +389,6 @@ def test_unit_of_measure(): assert UnitOfMeasure.fahrenheit == "Fahrenheit" assert UnitOfMeasure.k == "K" assert UnitOfMeasure.percent == "Percent" - assert UnitOfMeasure.hertz == "Hertz" def test_unlock_status():