Mains LED light bulb flickers when switched off
You might find that a different brand of bulb is much less prone to this kind of behavior. The internal circuit varies quite a bit from bulb to bulb. If you have a store with a generous return policy that applies to such products you could simply buy a few different types and try them. In particular, I would expect bulbs based on Microchip's CL8800 to not suffer from this problem. See this excellect article if you are interested in the gory details. Most bulbs have a small switching supply in them, but this type is different.