Or just swap the bulb with a smart bulb and the switch on the chord becomes irrelevant.
Yeah my stupid ikea desk lamp had the switch on the power cord. They're dirt cheap so I can't complain but it annoyed me so I moved it to the top of the lamp.When they put the switch on the power cord?
Yes, this is annoying, but Alexa isn’t coming into the bedroom! Perhaps I need a clapper
Or one of the ones that comes with an IR remote.