Before the invention of the electric light bulb, steam and natural gas were king! Steam was the primary source of power that ran the machinery of the Industrial Age and natural gas lit the homes and businesses. Once the electric light bulb came to be and the generation of electricity became commonplace, the need for lighting devices of all types became apparent, however the lack of pre-made lamp parts became a major issue because there were no formal lamp parts manufacturing companies at the time.
What they were able to do was to take already existing steam and gas pipes and convert them to accommodate electricity. In went light bulbs, gas pipes, steam pipes, wire, switches, and some creative thinking and out came the Steampunk Lamp.