You are collecting data about your house consumption for years. You measure it using 3phase meter, like Shelly 3EM.
Now you decide to install an FVE.
After installation, the FVE inverter becomes a source of measured data.
For reasonable reasons, you can no longer use your meter in parallel with the FVE Smart meter.
So, you remove sensors from the Energy dashboard replacing them with sensors from Inverter integration.
And know what? Historical measurement data are no longer available on the dashboard.
It’s painful especially because you would like to compare house efficiency to what you have before.
IMO Energy dashboard data should be materialized separately, being independent from further changes to HA sensors configuration/usage
I found the same when I got solar panels and it changed how my energy dashboard was set up - I think one solution is to not delete the old source device, but I’m not sure how well that would work. I ended up exporting my history from the database and using a HACS integration called Import Statistics.
If you leave old sensors they will remain contributing to the sum of energy.
You can leave them here under the condition, the sensors are unavailable anymore.
But then the Dashboard setting page will warn you about it every time you open it.
In my case the sensors remained functional but measured different things due to changes introduced by FVE installation. So I had to remove them from the dashboard.
It all can be worked around, but the dashboard which has built-in functionality to look years back, should not be so fragile, depending only on nowa-days setting.