How do thermostats work?
They use a bimetallic strip to regulate temperatures.
Use a metallic element that deforms when heated