Photoreversible switching of the lower critical solution temperature in a photoresponsive host-guest system of pillar[6]arene with triethylene oxide substituents and an azobenzene derivative.