That was the issue I found when I tried that route
Until something changes, all current solutions (that don't use Tasmota type enabled devices) are subject to stop working at any time
I literally have a Pi talking to a Alexa to do most of my controlling from Node-RED and have pretty much given up on local control of cheap commercial switches (I'm in UK)
I bought a pre-flashed Tasmota switch once and bricked it within 5 minutes when I clicked on the link to update its firmware so i gave up on that path