Touch sensor to control a lamp