Hi, I have an LED light panel, when I switch on power in 5 or less seconds after the last turn off, the light color will change. So in my automation for this light I need a delay of 5.1 seconds as minimum and maximum, but only if the light turned off less than 5.1 seconds ago.
Any ideas of how to make this. Don't want to wait every time 5 seconds, don't want too wait more than 5.1 seconds if the light turned off.
I found no way to manipulate the microcontroller of the light (everything in glue)