what you're looking for is a herpstat/thermostat

proportional is better