sensing mains power

Does this look OK?

Looks fine, appart from the fact I would also have a resistor in line with the LED. The only thing limiting the current is te 470R and the 0.15uF cap, I am not sure if that will pass too much current.