The melachah of kindling is not only the lighting of a new fire. Enlarging a gas flame, or lighting an electric lamp with a filament or a heating element, is kindling from the Torah. A refrigerator lamp should be turned off before Shabbat, and security cameras and certain lights that go on as one walks may be passed, as explained below. From the booklet Shabbat baHalachah ubaAgadah of Rabbi David Shalom Naki, shlit"a.