A double ended retrofit LED based lighting device adapted to be connected to a power source, said lighting device comprising: - two, separate, connecting terminals (L1, L2) at a first end of said lighting device for connecting said lighting device to said power source; - two further, separate, connecting terminals (R1, R2) at a second end of said lighting device for further connecting said lighting device to said power source; - 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 (RfilL) arranged in between said two separate, connecting terminals (L1, L2) 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 (SwLa, SwLb) wherein each pin-safety switch is connected to a respective one of said two, separate, connecting terminals (L1, L2) such that said AC current does not flow through said filament circuit when said pin-safety switches are closed, wherein said lighting device is characterised in that at least one of the pin-safety switches (SwLb) 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; - a normally-open node arranged to be connected to said AC LED driver, such that said filament circuit (RfilL) is functionally disconnected, when said AC current flows to, or from, said AC LED driver. - two, separate, connecting terminals (L1, L2) at a first end of said lighting device for connecting said lighting device to said power source; - two further, separate, connecting terminals (R1, R2) at a second end of said lighting device for further connecting said lighting device to said power source; - 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 (RfilL) arranged in between said two separate, connecting terminals (L1, L2) 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 (SwLa, SwLb) wherein each pin-safety switch is connected to a respective one of said two, separate, connecting terminals (L1, L2) such that said AC current does not flow through said filament circuit when said pin-safety switches are closed, wherein said lighting device is characterised in that at least one of the pin-safety switches (SwLb) 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; - a normally-open node arranged to be connected to said AC LED driver, such that said filament circuit (RfilL) is functionally disconnected, when said AC current flows to, or from, said AC LED driver. - 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 (RfilL) arranged in between said two separate, connecting terminals (L1, L2) 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 (SwLa, SwLb) wherein each pin-safety switch is connected to a respective one of said two, separate, connecting terminals (L1, L2) such that said AC current does not flow through said filament circuit when said pin-safety switches are closed, wherein said lighting device is characterised in that at least one of the pin-safety switches (SwLb) 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; - a normally-open node arranged to be connected to said AC LED driver, such that said filament circuit (RfilL) is functionally disconnected, when said AC current flows to, or from, said AC LED driver. - a central node arranged to be connected to said power source; - a normally-closed node arranged to be connected to said corresponding filament circuit; - a normally-open node arranged to be connected to said AC LED driver, such that said filament circuit (RfilL) is functionally disconnected, when said AC current flows to, or from, said AC LED driver.