From 27b8321f809c8554182cf6e61ed01e07d5ea4b77 Mon Sep 17 00:00:00 2001 From: andig Date: Fri, 10 Jun 2022 14:14:29 +0200 Subject: [PATCH] Cupra: updated status --- vehicle/seat/cupra/provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vehicle/seat/cupra/provider.go b/vehicle/seat/cupra/provider.go index 1f9aa064c..247ecf0f2 100644 --- a/vehicle/seat/cupra/provider.go +++ b/vehicle/seat/cupra/provider.go @@ -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