Simple Illuminance Sensor (below/above) Help please

Hello, everyone.

I ve now rummaged through all posts but I have not yet found it. I actually only want to create a binary sensor, which jumps to on in a certain darkness and then of course back to off as soon as there is enough light.
that I have managed with threshold so far, however, the sensor logically jumps me shortly after the light approaches off. because now the light is so suddenly enough brightness available:/

alternative an automation:
so I ve already tried, but now I have a trigger for above and one for below. Could you make a single one out of it?

I thank you