What’s the logic behind turn off after xx minutes?
Hi: I see some inconsistency with my automations and hence would like to understand how the logic turn off after xx minutes works with homekit automation to exclude the potential issue with my sensor. My setup is simple, I have a motion sensor triggers to turn on light when light is below xx lux. I then opt in to turn off the light after 10 minutes. I observed the turn off is cancelled if the automation reruns (people stays in the room), however I also observed sometimes the automation doesn’t run, and sometimes the light is not turned off after 10 minutes. So a few corner cases which I hope somebody knows the expected behaviour: 1) if I manually turn on the light, while light is on the automation is triggered, does it turn off after 10 minutes when nobody is in the room? 2) if the automation turns on the light, but I change brightness of the light manually, does the automation turn it off after 10 minutes? 3) When the light is turned on by the automation, and I turn off the light manually, does next time when the sensor detect people and will turn on the light (in the 10 minutes cool down period)? 4) Now gets more hairy: what about the lux changes once the light has been turned on by the automation? For example when lux suddenly raises above the threshold, will the turn off happen after 10minutes?