Mine has a valve that I can switch from tank water (runs the pump) or off the city water, pressure of what ever is there is what is in the trailer. If I have city water hooked up it won't fill the tank, that is a different inlet. Our old trailer we had there was a automatic type switch..think it had a spring, if the city water was hooked up and pressure was on that side, it pushed the plunger to close off the inlet to the tank..when the city water wasn't on, the spring held the plunger open for the tank-pump to feed the trailer. I always put a pressure valve on when I use city...don't want to blow fittings off the trailers pipes.