From da91ea630318eae7e3569e6895963f50cd69cf39 Mon Sep 17 00:00:00 2001 From: premultiply <4681172+premultiply@users.noreply.github.com> Date: Mon, 19 Aug 2024 22:35:21 +0200 Subject: [PATCH] Delta: fix status mapping Fixes https://github.com/evcc-io/evcc/issues/14890#issuecomment-2297057456 --- charger/delta.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charger/delta.go b/charger/delta.go index 42371ee6a7..846cdc6fef 100644 --- a/charger/delta.go +++ b/charger/delta.go @@ -153,7 +153,7 @@ func (wb *Delta) Status() (api.ChargeStatus, error) { switch s := encoding.Uint16(b); s { case 0, 1, 2, 3: return api.StatusA, nil - case 5, 6, 7: + case 5, 6, 7, 9: return api.StatusB, nil case 4: return api.StatusC, nil