Try a simple trick if the light won't come on after adjusting and cleaning the sensor. Leave the light circuit off for 30 minutes when the circuit breaker is turned off. Is that correct? If the light doesn't come on when you turn the breaker on, you should replace the bulb. The sensor might be bad if that doesn't work.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.