Delta: fix status mapping
Fixes https://github.com/evcc-io/evcc/issues/14890#issuecomment-2297057456
This commit is contained in:
parent
ede42592c8
commit
da91ea6303
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue