Delta: fix status mapping

Fixes https://github.com/evcc-io/evcc/issues/14890#issuecomment-2297057456
This commit is contained in:
premultiply 2024-08-19 22:35:21 +02:00 • committed by GitHub
parent ede42592c8
commit da91ea6303
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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