Photonic bound states in the continuum governed by heating.