Cupra: treat "NotReadyForCharging" aus connected (#29030)
This commit is contained in:
parent
b59b71f854
commit
7135ab0558
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ func (v *Provider) Status() (api.ChargeStatus, error) {
|
|||
res, err := v.statusG()
|
||||
if err == nil {
|
||||
switch strings.ToLower(res.Services.Charging.Status) {
|
||||
case "connected", "readyforcharging", "error":
|
||||
case "connected", "readyforcharging", "notreadyforcharging", "error":
|
||||
status = api.StatusB
|
||||
case "charging":
|
||||
status = api.StatusC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue