As @DanielMuzMurray said, it’s much easier to help if you can upload a minimal project.
Also, here’s info about how switches are selected: