Set temp and running state