A heated counter for service of hot food has one or more hotplates, a light source illuminating each hotplate and a number of light sensors below each hotplate. When a sensor is obscured by a dish of food, power is supplied to that hotplate, and when no sensor is obscured, that hotplate is kept in stand-by mode.