Friends have a simple circuit a switch on off using triac BTA24600B, The strange fact is that when I turn off my led lamp keeps flashing fast, this is not the case with other types of lamps, only with LED lamps, the problem is only when it is Off when turned on works perfect. Has anyone ever experienced this?
Your Triac has excessive leakage and the LED AC_DC SMPS charges up and then discharges and repeats like a unijunction relaxation oscillator.
Either reduce the leakage or reduce the load impedance to the LED with a 4W AC bulb (Xmas or chandelier light) or put an X-rated plastic film cap 0.022uF to 0.047uF in parallel with the LED or triac load output to shunt some leakage which may not be enough.
I've experienced this on several LED bulbs, usually the cheaper ones, but not always. There is some leakage though the triac. IGBTs tend to "close the gate tighter" and not flicker those cheap bulbs. Sometimes having more cheap bulbs on the circuit helps, but the qty varies widely in my unscientific experimentation.
If you're stuck with what you have, place a small dummy load on the circuit with the LED bulb. Old AC/DC adapters (heavy, non-switching) work well without heat, noise, or light (you don't even need to plug in the DC part). I use that method the most. Regular tungsten light bulbs are good as well; nite-lights included (as tony mentions). Or you could build some fancy circuit; i'm sure the experts around here have some suggestions.