Behandlungseinrichtung (2) zum Trocknen und/oder Rösten eines Lebensmittels, insbesondere von Kakaobohnen und/oder Kakaokernteilen (1), wobei die Behandlungseinrichtung (2) eine Behandlungskammer (3) und zumindest eine Heizeinrichtung (4) zum Erhitzen eines Gases umfasst und insbesondere eine Einstelleinrichtung, mit welcher das Durchführen von erhitztem Gas durch die Behandlungskammer (3) einstellbar ist, dadurch gekennzeichnet, dass an und/oder in der Behandlungskammer (3) mindestens ein Sensor, insbesondere ein Feuchtigkeitssensor, angeordnet ist zur Ermittlung einer Kontrollgrösse, insbesondere der Feuchtigkeit des Lebensmittels in der Behandlungskammer (3), während des Trocknens und/oder Röstens, derart, dass ein Regeln des Trocknens und/oder Röstens in Abhängigkeit von der ermittelten Kontrollgrösse, insbesondere der Feuchtigkeit, durchführbar ist.Treatment device (2) for drying and / or roasting of a food, in particular of cocoa beans and / or cocoa core parts (1), wherein the sheet treating device (2) a treatment chamber (3) and at least one heating device (4) for heating a gas, and in particular an adjustment device, with which the execution of heated gas through the treatment chamber (3) is adjustable, characterised in that, on and / or in the treatment chamber (3) at least one sensor, in particular a moisture sensor, is arranged for determining a control parameter, in particular of the moisture of the food in the treatment chamber (3), in the course of the drying and / or tens metric tons, in such a way that a regulation of the drying and / or metric tons tens as a function of the determined control parameter, in particular of the moisture, can be carried out.