Sunset period

is the trigger after sunset running until before sunrise or for how long period is after sunset?

The sun sets here (schiphol) today at 16:54.
So the trigger ā€˜it is sunset’ is at 16:54
The condition ā€˜after sunset’ is true between 16:54 and 24:00.
The sun rises today at 8:45
So the trigger ā€˜it is sunrise’ is at 8:45.
The condition ā€˜before sunrise’ is true between 0:00 and 8:45

The condition ā€˜it is dark’ is true between 16:54 and 8:45.
The condition ā€˜it is light’ is true between 8:45 and 16:54.

(I’m not sure what the exact text for the triggers and conditions are in English)

2 Likes

In another thread it was mentioned resently it might be advisable to ask ā€žis it not after sunriseā€œ to circumvent the midnight problem when using ā€žis it bevor sunriseā€œ. At least thatā€˜s what I remember.

1 Like

I have also heard of the recommendation mentioned by @SingKT. My recommendation would therefore be to use the following combination:

A short note about the correct wording:

  • A trigger is a short, one-time event or a status change.
    Related flow cards can be found in the ā€œWhenā€¦ā€ section.
  • ā€œAfter sunsetā€ is a condition, such as ā€œIs turned on,ā€ ā€œIt is night,ā€ etc.
    Related flow cards can be found in the ā€œAndā€¦ā€ section.