The energy dashboard tells me what I consumed and paid. I kept wanting the next answers: what did the heat pump or the car cost me, including the solar power they used? How much of my grid power did I actually buy in the cheap hours of my tariff? And have the solar panels, the heat pump, and the EV paid for themselves yet?
So I built Electricity Lens , a custom integration with its own cards and a ready-made dashboard.
Takes everything from the energy dashboard . No YAML, no helpers, no template sensors. The setup only asks what HA can't know, such as what the heat pump cost extra or what gas cost before.
Computes your whole history, hour by hour , right after setup, and keeps the results as long-term statistics. With several years of data that takes a few minutes, longer on a Pi.
Costs per device , split by solar power and grid power, with the real price of each hour.…