A photonic crystal microcavity with the liquid crystal resonant layer tunable by heating has been implemented. The multiple vanishing resonant lines corresponding to optical bound states in the continuum are observed. The abrupt change in the resonant linewidth near the vanishing point can be used for temperature sensing.