Auto-detect connected vehicle (#397)
This commit is contained in:
parent
345cf5c589
commit
ed12988a64
9 changed files with 217 additions and 23 deletions
|
|
@ -92,6 +92,11 @@ type ChargeFinishTimer interface {
|
|||
FinishTime() (time.Time, error)
|
||||
}
|
||||
|
||||
// VehicleStatus provides the vehicles current charging status
|
||||
type VehicleStatus interface {
|
||||
Status() (ChargeStatus, error)
|
||||
}
|
||||
|
||||
// Climater provides climatisation data
|
||||
type Climater interface {
|
||||
Climater() (active bool, outsideTemp float64, targetTemp float64, err error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue