Lovelace card with power price?

It seems hard or pretty complicated to make a lovelace card that works and do the same thing as the “power sources” in Power dashbord does?

I can not be the only one that want to add daylie cost for power consuptions of entitys?

Why not just use sources?
Well i do log the total power of the house in sources and it i add induvidual entitys there , they add up to the total sum of consumption of the house.

It seems to be possible to make lovelace cards like this but super complicated if you buy electricity by the hour like many do from tibber as an example.