Abstract: A temperature controller for controlling an electrical heater of a bed maintains the bed at a predetermined set temperature and additionally, over a long period of time, acts to vary the set temperature to compensate for variations in the temperature of the ambient environment in which the bed is situated. First and second temperature sensors respectively sense the temperature of the bed and the temperature of the environment ambient to the bed and the heater is switched to regulate the heating of the bed thereby.