The electronic hygrostat senses the relative humidity in an enclosure with electric/electronic components and turns on a heater at the set point, helping prevent the formation of condensation in the enclosure. The LED integrated in the adjustment knob is lit when the connected heater is in operation.