Happy New Year and welcome to the forum!
What model switch is it? A number of things can cause your problem. Have you checked the wiring to insure it is intact and also is the switch wired to the controller correctly? Are the insulating pins in their correct position?
We need more information before help can be offered. Thanks.
Larry