Rpi_rf integration

I’m trying to reinstate the deprecated rpi rf integration but I keep getting this error.

AttributeError: module ‘rpi_rf’ has no attribute ‘RFDevice’

Has anyone managed to reinstate it?

I’m having the problem that it can’t find the module itself.
No module named 'rpi_rf'. How did you install rpi_rf? Through HACS or AppDaemon?