Looks like a home brew thermal "flasher" switch. Currents heats up the bi-metal leg. The leg bends, breaking contact with the other leg and opens the circuit. No current flows. The bi-metal leg cools, unbends, contacts the other leg, closing the circuit. And the cycles repeats.
Ken