I purchased this off Amazon
RV 12V DC Toggle Style Light...
https://www.amazon.com/dp/B08F2Y1NR1...p_mob_ap_share
And wired it up to where the existing switch was. Didn’t have to change the lights. Works great. The switch I replaced had two leads (POS and LOAD), this has the same but also has a ground. You need to locate a suitable ground to ensure the dimmer functions properly.
Installed on 2021 Cougar 26RKS slide out lights.