Add Peugeot/Opel/Citroen api (#692)
This commit is contained in:
parent
3a435ad68b
commit
d4f8d03cb9
9 changed files with 415 additions and 8 deletions
10
api/api.go
10
api/api.go
|
|
@ -107,12 +107,12 @@ type VehicleRange interface {
|
|||
Range() (int64, error)
|
||||
}
|
||||
|
||||
// VehicleStartCharge starts the charging session on the vehicle side
|
||||
type VehicleStartCharge interface {
|
||||
StartCharge() error
|
||||
}
|
||||
|
||||
// VehicleClimater provides climatisation data
|
||||
type VehicleClimater interface {
|
||||
Climater() (active bool, outsideTemp float64, targetTemp float64, err 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