Cupra: updated status

This commit is contained in:
andig 2022-06-10 14:14:29 +02:00
parent 76358b3e30
commit 27b8321f80

View file

@ -44,7 +44,7 @@ func (v *Provider) Status() (api.ChargeStatus, error) {
res, err := v.statusG()
if err == nil {
switch strings.ToLower(res.Services.Charging.Status) {
case "connected":
case "connected", "readyforcharging":
status = api.StatusB
case "charging":
status = api.StatusC