Answer: option 1. thermal expansion and contraction.
The thermostat uses the thermal expansion and contraction of metals: when the metal expands it acts as a switch, a coiled ribbon expands and the electric circuit is off, then the current stops. When the temperatures decrease, the coiled ribbon contracts and the circuit is on, then the current starts to flow and the resistance starts to radiate heat.