add endpoint to turn on if temp is above threshold