Was using the wrong set tempreture function