A double ended retrofit Light Emitting Diode (LED) based lighting device for connection to a power source, said retrofit LED lighting device having connecting terminals at a first end of said LED lighting device for connecting said LED based lighting device to said power source, and having two, separate, further connecting terminals at a second end for further connecting said LED based lighting device to said power source, comprising:
- at least one LED for emitting light;
- an alternating current, AC, LED driver arranged for receiving an AC current, from said power source, and for driving said at least one LED based on said received AC current,
- a filament circuit arranged in between said two separate, connecting terminals for supporting a filament current circulating back to said power source for indicating a presence of said lighting device to said power source, and
- a pin-safety circuit comprising pin-safety switches, wherein each switch is connected to a terminal of said two connecting terminals such that said AC current does not flow through said filament circuit when said pin-safety switches are closed, wherein one of the pin-safety switches comprises a changeover contact, wherein said changeover contact comprises:
- a central node arranged to be connected to said power source;
- a normally-closed node arranged to be connected to said corresponding filament circuit;
- and
- a normally-open node arranged to be connected to said AC LED driver,
- such that said filament circuit is functionally disconnected, when said AC current flows to, or from, said AC LED driver.