Purge old energy data sources

Does anyone know how to purge old energy stats from the list?
The devices have been deleted, but the items still remain (they aren’t in the entities list)
It’s really confusing seeing old data sources that aren’t live any more

Check if developer-tools/statistics will offer to delete them. It may be holding old statistics.

Beautiful, thanks, that worked perfectly!