Alphatec: accept status 8 (#10578)

This commit is contained in:
andig 2023-10-30 21:33:22 +01:00 • committed by GitHub
parent 1a2747cdc0
commit f0b259677e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -126,7 +126,7 @@ func (wb *Alphatec) Status() (api.ChargeStatus, error) {
switch u := binary.BigEndian.Uint16(b); u {
case 1:
return api.StatusA, nil
case 2:
case 2, 8:
return api.StatusB, nil
case 3:
return api.StatusC, nil