From 679de96baded352f726b62ffbbee57d0fe95dd01 Mon Sep 17 00:00:00 2001 From: tmenguy Date: Wed, 28 Aug 2024 09:30:19 +0200 Subject: [PATCH] Add unconfirmed plug state 3 (#1304) * added plugstate as 3 for waiting for charge * Apply suggestions from code review --------- Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> --- src/renault_api/kamereon/enums.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/renault_api/kamereon/enums.py b/src/renault_api/kamereon/enums.py index a9ae2b8c..da5a45ff 100644 --- a/src/renault_api/kamereon/enums.py +++ b/src/renault_api/kamereon/enums.py @@ -22,6 +22,8 @@ class PlugState(Enum): UNPLUGGED = 0 PLUGGED = 1 + # 3 is unconfirmed, as it is currently unsupported on the App (see #1262) + PLUGGED_WAITING_FOR_CHARGE = 3 PLUG_ERROR = -1 PLUG_UNKNOWN = -2147483648