Wall switches steal their power through the light bulbs, lamp modules have a neutral pin besides the line one; so it can power directly from the wall socket.
The two wire wall switches probably are not compatible with your new lights.
If you have a neutral inside the wall switch box along with the line and load one. A WS13A should work. It does not dim and has a relay in it that clicks on and off. It can be slaved with a WS14A Companion switch for three way installs.