When I leave home, I start a flow that activates an absence flow:
WHEN it’s 10 minutes before sunset THEN put on some lights. This works fine.
Eg: sunset is at 17:00. When I activate the absence flow at 16:00, the lights go on automatically at 16:50 (10 minutes before sunset). But when I activate the absense flow at 17:00 or later, the moment of the trigger is passed so the lights go on at 16:50 the next day.
I want this to work also on the day I leave home after the moment of the trigger. So I made an additional flow that runs at the same moment when I activate the absence flow.
What I wanted to make is a check flow for the same day action:
WHEN this flow is started AND it’s later than 10 minutes before sunset THEN put on some lights.
I think this will work fine. But until now the only thing I can make is:
WHEN this flow is started AND it’s after sunset THEN put on some lights.
The absence flow together with the check flow for the same day action work fine when (in this example) I leave home before 16:50 and after 17:00. But when I leave home between 16:50-17:00 the lights turn on the next day.
How can I solve this?