I just used a single appropriately rated resistor, a bridge rectifier and the LED, all potted in epoxy into a circuit breaker casing. Still working as fas as I know, I designed it to have 5mA through the LED with 440VAC supply, using a few 0.5W resistors in series to both keep surface temperature to barely above ambient and to get the voltage well below that which would cause stress on the carbon composition resistors I used. Diodes were 12V zener diodes, as I still have a box of 5000 of them, so use them as regular diodes if need be. At 230V the led was slightly dimmer, but still would throw a shadow across the room at night.