Add odometer api (#1357)
This commit is contained in:
parent
4cc6e93a1f
commit
f6035829bd
12 changed files with 200 additions and 25 deletions
|
|
@ -126,6 +126,11 @@ type VehicleClimater interface {
|
|||
Climater() (active bool, outsideTemp float64, targetTemp float64, err error)
|
||||
}
|
||||
|
||||
// VehicleOdometer returns the vehicles milage
|
||||
type VehicleOdometer interface {
|
||||
Odometer() (float64, error)
|
||||
}
|
||||
|
||||
// VehicleStartCharge starts the charging session on the vehicle side
|
||||
type VehicleStartCharge interface {
|
||||
StartCharge() error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue