Hey everyone, I’m trying to set up an automation that turns on my lights 45 minutes before sunset, but only when I’m home. The current setup works, but I’m running into an issue where the lights turn on not just at sunset but also whenever I get home, even if it’s after sunset. I’ve been using the sun event trigger with an offset of -45 minutes and a state trigger for my tracking group. The problem is that I want the lights to stay off if I’m not home before sunset and only turn on when I arrive after sunset. I’ve looked through the documentation, but I’m not quite sure how to adjust the conditions to achieve this. Any suggestions would be greatly appreciated! ![]()