Hi!
I have a light sensor that check if its dark och bright and when av switch turns on and off. I use the switch to turn my light on. The problem is that the switch turns on then off and on again when it starts to get dark and the same behavior when it starts to get bright but turn off → turn on ->turn off.
I would like to have a sensor that has a delay on my light sensor. When the light sensor has been on “dark mode” for 10 minutes then I want the sensor to turn on. And then the light sensor has been om “bright mode” for 10 minutes then I want the sensor to turn off.
I have read on Template - Home Assistant but i cant get it to work. Can anyone please help me.