Problem with transparent material

I have an object that has an inner tube, the material is transparent, because I have a transition where I vary the level of transparency.
The problem is that by default it has 0 transparency but the faces of the inner tube are visible. In the images you can see the transparent material.

How can I make it so that I can put transparent material but with a “level 0” and it is displayed as an opaque material?