Electronic room hygrostat