All those engine components are run from the same fuse - S117 'control element fuse' which is a yellow 20A in the ECU box. I'd suggest replacing the fuse and giving the fuse holder terminals a spray with contact cleaner / WD40. Its likely there is some corrosion or grot on the terminals from when it was damp in there.
I have a box of hazard switches if you want one posting, or are passing to pick one up