Shut off the circuit breaker ... Do a visual inspection of the bad light switch and look for loose connections. Loose wire connections at the screw terminal can usually be fixed with the screwdriver.
The light switch can be used for interior and exterior ... that control Alexa (putting it on Do Not Disturb mode, turning it off, and more) as well as indicator lights that let you know Alexa ...