GE 12727 problems with Fluorescent and LED bank of lights


Need some help. I have a pole barn which has a quantity of 8 banks of 8foot LED and Fluorescent light in it. I’m slowly switching out the Fluorescent to LED when the bulbs go bad (8ft LED=$$$). The problem I have when I replaced the normal switch with the GE 12727 on/off toggle switch the lights go into a strobe mode and the switch does not operate manually. I can hear the relay in the switch turn on and off. I have all four wires hooked up correctly. I was wondering if I purchased the wrong switch? Do I need to have all LEDs or all Fluorescent bulbs in all the fixtures? Could the switch be bad (I wouldn’t think so). If anyone has a suggestion, please replay.