Thermal light variations of active galactic nuclei