The humidistat is like a thermostat. You set a thermostat for a specific temperature and when that temperature is reached, the furnace turns off.
Same with a humidistat. You set it for a desired humidity level (usually 30% to 45%) and when the humidifier reaches that level of humidification, the water supply is turned off by the solenoid water valve assembly.


