What makes you think I removed the gas valve?
If its the fact that I removed the DHW switch then please be informed that it is possible to take that off and replace it without removing the GV.
I took it off partly to check the pin travel but it also was a bit condensated so I opened the glass cover, dried it, tested it with a multimeter. It seemed OK so I put it back.
Yes, I agree that its is possible to remove the switch without removing the gas valve but its very fiddly.
Even more fiddly to replace the clip ( unless you have thin forceps.
However, you said there was condensation in the switch case. This will be because the gland is leaking! Thats virtually impossible to replace without removing the gas valve. In extreme cases the damp in the switch will create a HW demand signal!
The pin travel which I asked you to check can be checked at the left of the diverter after removing the diaphragm unit.
Tony