Add support for the locked status but car is connected (#73551)

This commit is contained in:
Erwin Oldenkamp 2022-06-20 10:10:10 +02:00 committed by GitHub
parent bd29b91867
commit 4e6d753d2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,7 @@ CHARGER_STATUS: dict[int, ChargerStatus] = {
195: ChargerStatus.CHARGING,
196: ChargerStatus.DISCHARGING,
209: ChargerStatus.LOCKED,
210: ChargerStatus.LOCKED,
210: ChargerStatus.LOCKED_CAR_CONNECTED,
}

View File

@ -41,6 +41,7 @@ class ChargerStatus(StrEnum):
ERROR = "Error"
READY = "Ready"
LOCKED = "Locked"
LOCKED_CAR_CONNECTED = "Locked, car connected"
UPDATING = "Updating"
WAITING_IN_QUEUE_POWER_SHARING = "Waiting in queue by Power Sharing"
WAITING_IN_QUEUE_POWER_BOOST = "Waiting in queue by Power Boost"