Recalculating energy costs

Hi! My energy company raised the energy costs at beginning of this month but I failed to update it in HA until 2 days ago.

But this does not affect the historical data that was saved using the previous rate.

How can I force HA to recalculate energy price since the beginning of the month??