Rpi rf gpios and HA

ok this may sound bad the title doesn’t make sense but I am hoping that someone can help me out I have a basic intergration of sorts as I am not totally sure where to begin. I still have a simplisafe v2 system and i have the scripts in python to read the basic sensors through a receiver on the rpi gpio. I have no idea where to begin to integrate this into a HA integration my reasoning for this is simply that I want it offline so that the system works when the internet is out as we loose internet regularly where I live and I want to be able to use the motion and entry senors for automation even when internet is out.