Add an argument to decide whether record temperature or not