Bluelink: don't use 12V battery
This commit is contained in:
parent
b0ca84dbc9
commit
84fb6b1580
2 changed files with 0 additions and 7 deletions
|
|
@ -104,10 +104,6 @@ func (v *Provider) Soc() (float64, error) {
|
|||
return res.EvStatus.BatteryStatus, nil
|
||||
}
|
||||
|
||||
if res.Battery != nil {
|
||||
return float64(res.Battery.BatSoc), nil
|
||||
}
|
||||
|
||||
return 0, api.ErrNotAvailable
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -42,9 +42,6 @@ type VehicleStatus struct {
|
|||
DrvDistance []DrivingDistance
|
||||
ReservChargeInfos ReservChargeInfo
|
||||
}
|
||||
Battery *struct {
|
||||
BatSoc int
|
||||
}
|
||||
Vehicles []Vehicle
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue