I’ve noticed a problem when I connect a IR sensor through an automation to switch on the roof light.
The current timer becomes very cumbersome as it expires after X time units. Good enough if you have left the room. But, if you’re standing in front of the mirror shaving when the light goes away, it becomes very annoying.
I’d like that each impulse from the sensor shall reset a new dedicated sensor-timer, i.e. if you appears in the sensor range before the timer expires, it will be reset to its original (starting) value again.