How do I wire one switch in a circuit with two "fixtures" but only one being operated by the switch?
It sounds like you have a setup like this.



If you want to control the pump independently, simply add a switch between the transformer and the pump.