Hi, I just started using some more complex automations, and I can’t find a way to turn on lights when I’m in a room that has a presence + lux sensor for a long period of time.
What I have now is two triggers occupied and not occupied-> “then do” choose between two options: ON or OFF.
- On when lux below X AND presence occupied.
No light when lux above X even when presence is detected. - OFF when not occupied for 30 sec.
The issue I have is that if I go in the room when it’s bright and stay there until it goes dark the lights won’t come on.
I was thinking about another automation that checks whether the lux of low and the first automation is active or force the existing automation to rerun every other minute but I have no idea on how to do it.