You do need an LDR along with a 10K ohm resistor to add this portion while. If you want it to not have this characteristic, just eliminate the LDR/10K resistor section and hook up Analog Input 3 with the ATtiny (pin 2) https://mr.fadenza.com/aurora-lampe