Added code to send set temperature.