The valve is controlled by four metal rods enclosed in a glass tube. The central rod that is blackened is surrounded by the three polished rods. As sunlight falls onto all of the rods, the absorbed heat of the sun expands the dark rod, switching a valve to cut the gas supply. After sunset, the central rod cools down, contracting to become the same length as the polished rods and opening the gas supply. The gas is lit by the small, always-burning pilot light.