Check that the proper function is being monitored.  Next, check for proper engagement of mechanism with switch.  Finally, check all wiring.