TV saver socket with infrared switch