Skip to content

Commit

Permalink
Add unconfirmed plug state 3 (#1304)
Browse files Browse the repository at this point in the history
* added plugstate as 3 for waiting for charge

* Apply suggestions from code review

---------

Co-authored-by: epenet <[email protected]>
  • Loading branch information
tmenguy and epenet authored Aug 28, 2024
1 parent 6bcd169 commit 679de96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/renault_api/kamereon/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 679de96

Please sign in to comment.