Volvo: fix charging status not detected (#22901)
This commit is contained in:
parent
acabbef01f
commit
79cbddca3d
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ func (v *Provider) Status() (api.ChargeStatus, error) {
|
|||
status = api.StatusB
|
||||
}
|
||||
|
||||
if res.ChargingStatus.Status == "CHARGING" {
|
||||
if res.ChargingStatus.Value == "CHARGING" {
|
||||
status = api.StatusC
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue