From 4c72744c71090187ea06487392d2fcd3f4ecf736 Mon Sep 17 00:00:00 2001 From: Konstantin Date: Mon, 10 Jul 2023 20:35:28 +0200 Subject: [PATCH] Keba: fix vehicle connected status when only the cable is connected to the charging station (#8898) --- charger/keba-modbus.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charger/keba-modbus.go b/charger/keba-modbus.go index 36ef1b6d4..1e4c4bbf2 100644 --- a/charger/keba-modbus.go +++ b/charger/keba-modbus.go @@ -168,10 +168,10 @@ func (wb *Keba) Status() (api.ChargeStatus, error) { } switch status := binary.BigEndian.Uint32(b); status { - case 0, 3: + case 0, 1, 3: return api.StatusA, nil - case 1, 5: + case 5: return api.StatusB, nil case 7: