As the temperature of the room increases the wax expands, pushing the pin down and restricting the flow of hot water. As the room cools the plug contracts, the pin is let out a little and more heat is admitted into the room. This process, completely self contained and without complex electronic circuitry, keeps the room temperature at a desired constant level.
cleek