How to include integration that was removed from HA

There was a Duke Energy integration that was removed from HA since it was doing web scraping. Is there an easy way to add this back to my local installation? Duke energy does not allow connecting to their meters in my area.

This is my best guess, but I’m not even close to being a dev. So I could be totally wrong…

You might be able to add it to your custom_components folder. But if it was removed over 2 years ago, there is a chance it might not even work in HA anymore.

Figure out which release last had the integration. Then go here:

In the release drop-down, find your release. Then download the Duke folder. Stick that into your custom_components folder in your HA root. If you don’t have that folder, create it. Then restart.

I don’t know if this will work, but that is my best guess. I’m sure someone way smarter than me might have better ideas. Let me know how it goes!