Keba: fix vehicle connected status when only the cable is connected to the charging station (#8898)
This commit is contained in:
parent
67238f5cb2
commit
4c72744c71
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue