I posted here a couple years ago about a weird issue I had where a hall light started blinking off and on even though the switch was off. This was with an LED bulb.
I changed the light switch to a new one, no luck.
I finally gave up and put a incandescent bulb back in the fixture, and now it turns on when the switch is on, off when the switch is off. Fortunately I have a fairly good stock of incandescent bulbs stashed away as I have no desire to spend a bunch of money having an electrician trouble shoot and possibly have to rewire my 64 year old house!