HA Energy: Solar Generate costs

Hi,

On the energy dashboards I want to be able to add a way to show costs for solar generation as I’m on an old tariff where I get paid for generation even if I use 100% of what I generate (I don’t only get paid for what gets returned to the grid).

Is there anyway I could add £cost field to run along side of ‘Solar Generation Energy’? Then be able to see if I’m net in profit or debt each day on the bottom line?

Appreciate any help.