I want to keep counters for how much solar panel energy and grid energy my car uses.
I have power meters for the Solar, Grid and the car. The power the rest of the house
uses is however unknown, and measured by the grid meter.
Determining the car's part of grid and solar power requires some calculations.
I created home assistant template sensors to come up with these power numbers, and
added integrators to obtain energy meters. The energy flow plus card can show these
in real time on the Home assistant dashboard.