Volvo: fix charging status not detected (#22901)

This commit is contained in:
lehmanju 2025-08-11 11:51:17 +02:00 • committed by GitHub
parent acabbef01f
commit 79cbddca3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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