Energy Dashboard sensor limit date range


I am using the energy dashboard to show all my consumed energy, power from my photovoltaik and battery. I want to change the main sensor for my PV now, but I want to keep the sensor in the history, so I can see all the historic date.

So what I like to be able to configure:
sensor.pv_total_old is only used in the timeframe before day x
sensor.pv_total_new is only use starting day x

AFAIK this is not possible to configure. Is there a solution for that?