A couple years ago I was exploring solar in my area with a smaller setup and wanted to have the data in HA. In order to do this I bought a smart plug (Kasa) with energy monitoring and it would report power which I piped into the solar dash. All good.
Since then I have upgraded to a “real” solar system and decomissioned the old one. The other day I wanted to use the smart plug for monitoring the energy for something else but I’m stuck in a loop of issues and data loss.
If I remove the smart plug from HA or remove the entity from the energy dash I lose all the solar history, I would like to keep that.
If I use the device anywhere else the energy dashboard adds solar because the entity is still there.
What I want to do is re-add the device to HA with a new unique identifier or name but I cant figure this out. I think the ID is based on the MAC address so it recognizes that it's the same plug and thus I'm stuck in this loop.