Device for sensing Moisture