Describe the bug
This line points calls to pvlib.atmosphere.first_solar_spectral_correction to pvlib.spectrum.spectral_factor_firstsolar which doesn't exist. The deprecation should point to pvlib.spectrum.mismatch.spectral_factor_firstsolar
Versions:
pvlib.__version__: 0.10.1