Changed thermostat to use SI units