A method of forming a device is disclosed. The method comprises performing a series of programming operations\u2014for example, a programming pulse of a predetermined voltage level and pulse width\u2014on a resistive change memory element in order to incrementally increase the resistance of the memory element above some predefined threshold. An additional override mode is provided, which is switched on by manually actuating the selector lever in the automatic mode, whereby in the event that the headlights are in the first illuminating state, an actuation of the selector lever in the first actuating direction causes a switching between the automatic mode and the override mode. Upon loss of power from the primary elevator power supply the relay switches contacts and provides to the LED driver AC power received from the inverter.