From e309694adb00828f685c5fa1f2d4c2635734cc62 Mon Sep 17 00:00:00 2001 From: functionpointer Date: Mon, 10 Oct 2022 11:22:09 +0200 Subject: [PATCH] Add status INOPERATIVE --- pyproject.toml | 2 +- src/chargecloudapi/models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ee5355c..de0f867 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "pychargecloud" -version = "0.0.4" +version = "0.0.5" dependencies = [ "aiohttp", "yarl", diff --git a/src/chargecloudapi/models.py b/src/chargecloudapi/models.py index 1320922..984101b 100644 --- a/src/chargecloudapi/models.py +++ b/src/chargecloudapi/models.py @@ -3,7 +3,7 @@ DateTimeISO8601 = str -Status = Literal["AVAILABLE", "CHARGING", "OUTOFORDER", "UNKNOWN"] +Status = Literal["AVAILABLE", "CHARGING", "OUTOFORDER", "INOPERATIVE", "UNKNOWN"] EvseId = constr(regex=r"^([A-Z]+)\*([A-Z0-9]+)\*([A-Z0-9]*)(?:\*([A-Z0-9]+))?$")