BUT I want this to switch a relay too, and True on GPIO12 is 0V not 3.3 (measured on a voltmeter). This means the relay switches on when the switch is set to False, and off when it’s True - so the opposite of the LED.
Any ideas how to fix this so the LED is On and the relay is powered at the same time?