Liquid expansion thermostat