The SN_PHOTORESISTOR usermod has fixed the Analog pin to use:
in <usermod_sn_photorsistor.h> you find this line:
#define PHOTORESISTOR_PIN A0
Why not make it configurable at compilation time? , for instance:
#ifndef PHOTORESISTOR_PIN
#define PHOTORESISTOR_PIN A0
#endif
so we can define any other analog input at environment definition level in platformio.ini; for instance:
-D PHOTORESISTOR_PIN=33 ; Pin A5 - ADC1_CH05 => if not defined default value = A0 (36)
Or even enable the configuration at user interface level…
while in ES8266 you can only use A0; in ESP32 you have more options, all de ADC1 pins.