Can you show us some photos of your dilemma? The unit probably came with the flow switch in a 2" fitting? If that's the case, you would use a couple of 2" to 1.5" reducer bushings.
Welcome to TFP! For a wealth of pool care information please check out our free Pool School. If you are in need of specific help then we encourage you to Register and ask us here in the forum!