Pilot of the water inlet valve and thermocouple valve