Hi, I want to make a sensor that calculates my mileage (average monthly and average yearly) and also show the mileage for past whole month. I have an integration that shows the current odometer and I know when I got the car (24-12-2024) with 0km.
Does anyone know how to create a template for that?