There is a discussion of relative humidity measurement at
https://en.wikipedia.org/wiki/HygrometerThe wet-bulb is commonly used in kilns because of the chemicals in the atmosphere and the temperature.
Other sensors rely on resistance or capacitance and the materials generally don't work at high temperature. Not in the wiki reference are ir sensors - water vapor attenuates the ir waves. These are probably the most accurate, but the electronics are temperature sensitive. Expensive too.
The resistance device that has been used in kilns is a cellulose wafer place between two electrodes.
The humble dry/wet bulb is robust and inexpensive. The sensor (the sock) is easily changed when contaminated.
As to the original question - I would be curious what the water supply issue is. This would seem easier to solve that figuring out a new sensor.