alandtse / tesla

Tesla custom integration for Home Assistant. This requires a refresh token be generated by third-party apps to login.
Apache License 2.0
581 stars 100 forks source link

[Feature Request] Trip Energy Consumption data #644

Open mikihacia opened 1 year ago

mikihacia commented 1 year ago

Is your feature request related to a problem? Please describe. No

Describe the solution you'd like N/A

Describe alternatives you've considered N/A

Additional context Hi,

I've been thinking that it would be great to fork the Trips data from the car. I use Trip A as a monthly miles and kWh done and trying to reset it every month, but there are other types such as: Since Last Charge, Current Trip etc.

Wondering if these are available to be pulled in to get some graphs created in HA.

alandtse commented 1 year ago

I'm not sure Tesla provides this information natively. If it doesn't, then you'd have to use HA to define trips and do the counting there. That would most likely be template sensors or even a HA component. If it turns out it's in the API, then it may be a feature request that someone could add.