An optimum floor temperature in the rooms is very important for the comfort of the pigs. The updated floor control in the Thomas® system provides optimum heating and cooling of the floors. This allows the pig farmer to ensure that the animals feel comfortable, even when they are lying on the solid part of the floor. A feedback mechanism for the water temperature shows the pig farmer whether the pigs need additional heat or cooling. Furthermore, this smart control makes it possible for the heat that is released in a given room to be reused in another room.