With the sketch right now, the diode gets brighter nicely when the light gets brighter.
But of course I want the diode to increase in brightness when the light gets darker.
So it works well- just the other way round. It´s supposed to be like a night light.