A lighting device, comprising: - a lighting circuit comprising at least a first lighting circuit terminal and a second lighting circuit terminal, and a first and a second LED lighting device (20, 22) electrically connected in series between said first and second lighting circuit terminals (24, 26), - wherein a third lighting circuit terminal is connected between said first and second LED lighting devices (20, 22), - a power supply with a first and second power supply terminal (34, 36) for delivering electrical power to said LED lighting devices (20, 22), - a switching circuit comprising at least a first, a second, and a third switching element (30, 32, 38), - wherein said first switching element is connected between said first power supply terminal and said first lighting circuit terminal, - wherein said second switching element is connected between said first power supply terminal and said third lighting circuit terminal, and - wherein said third switching element is connected between said second power supply terminal and said third lighting circuit terminal, and - a control circuit comprising a logic circuit with a first input signal for said first LED lighting device and a second input signal for said second LED lighting device, - wherein said logic circuit is configured for delivering switching signals (sw1, sw2, sw3) to said switching circuit to operate said first, second, and third switching elements (30, 32, 38) depending on said first and second input signals (L1, L2) for activating said first and second LED lighting devices (20, 22) according to said first and second input signals (L1, L2), the lighting device being characterized in that said logic circuit is configured to operate said first, second, and third switching elements (30, 32, 38) depending on said first and second input signals (L1, L2) such that sw1 = L1, sw2 = L2 AND (NOT L1 OR NOT L2), sw3 = L1 AND NOT L2, or sw1 = L1, sw2 = L2 AND NOT L1, sw3 = NOT L2, wherein sw1 is an open/ closed state of said first switching element, sw2 is an open/ closed state of said second switching element, sw3 is an open/ closed state of said third switching element, L1 is an active/ inactive state of said first input signal, and L2 is an active/ inactive state of said second input signal. - a lighting circuit comprising at least a first lighting circuit terminal and a second lighting circuit terminal, and a first and a second LED lighting device (20, 22) electrically connected in series between said first and second lighting circuit terminals (24, 26), - wherein a third lighting circuit terminal is connected between said first and second LED lighting devices (20, 22), - a power supply with a first and second power supply terminal (34, 36) for delivering electrical power to said LED lighting devices (20, 22), - a switching circuit comprising at least a first, a second, and a third switching element (30, 32, 38), - wherein said first switching element is connected between said first power supply terminal and said first lighting circuit terminal, - wherein said second switching element is connected between said first power supply terminal and said third lighting circuit terminal, and - wherein said third switching element is connected between said second power supply terminal and said third lighting circuit terminal, and - a control circuit comprising a logic circuit with a first input signal for said first LED lighting device and a second input signal for said second LED lighting device, - wherein said logic circuit is configured for delivering switching signals (sw1, sw2, sw3) to said switching circuit to operate said first, second, and third switching elements (30, 32, 38) depending on said first and second input signals (L1, L2) for activating said first and second LED lighting devices (20, 22) according to said first and second input signals (L1, L2), the lighting device being characterized in that said logic circuit is configured to operate said first, second, and third switching elements (30, 32, 38) depending on said first and second input signals (L1, L2) such that sw1 = L1, sw2 = L2 AND (NOT L1 OR NOT L2), sw3 = L1 AND NOT L2, or sw1 = L1, sw2 = L2 AND NOT L1, sw3 = NOT L2, wherein sw1 is an open/ closed state of said first switching element, sw2 is an open/ closed state of said second switching element, sw3 is an open/ closed state of said third switching element, L1 is an active/ inactive state of said first input signal, and L2 is an active/ inactive state of said second input signal. sw1 = L1, sw2 = L2 AND (NOT L1 OR NOT L2), sw3 = L1 AND NOT L2, sw1 = L1, sw2 = L2 AND NOT L1, sw3 = NOT L2,