skodaconnect / homeassistant-myskoda

Homeassistant integration for MySkoda.
77 stars 12 forks source link

Add Trip statistics #165

Open SamA699 opened 1 week ago

SamA699 commented 1 week ago

Is it possible to add fields for the trip statistics?

In the MySkoda App there are statistics weekly, monthly and year. For me specially i'm interested in the "average_electric_consumption" .... in the old skodaconnect integration there was the entity "refuel_average_electric_consumption" for that

By th way: i'm also interessted to get the "Service inspection days"

WebSpider commented 1 week ago

Service inspection days will be activated soon, I've already been testing thath, with a small bug in the frontend display, so I'll remove that from the title.

prvakt commented 10 minutes ago

there is a difference between old skoda API and this one..

with old one it was possible to get statistics

  1. From last trip,
  2. Since last refueling
  3. Long term

new Skoda API provides statistics

  1. From this week (or any week from past)
  2. From this month (or any month from past)
  3. From this year (or any year from past)

maybe we can implement it in the way to provide statistics sensors from actual week/month/year + service which can be used to request weekly/monthly/yearly statistics from past based on input?