I am upgrading some circuits around the house and I found one that has me stumped. There is 12/2 UF-B running from my garage sub, under my deck and terminating at a PVC C-type conduit body across the deck. There it is spliced with romex, which is then run up 2 ft of 1/2" PVC conduit to a weatherproof receptacle box sitting above the deck and strapped against my house.
I know running romex both outside and through conduit isn't to code so I want to replace it with THWN that I have on hand. The question is, if I splice the THWN to the UF-B in the conduit body using wagos, will I be in violation of code? What is the "to code" way to make the splice? Is there a rain proof connector for UF-b entering PVC?