changing order of param swapping for setTemperature

Current swap means that setTemperature with 1 param will try to set the temp to result of getFirstDeviceId(). Reordering so that temperature becomes the first argument.