Condition Sun -45 min How?

Hi! Im new to try to convert to using node red for most of my automations in stead of YAML.

I have started “easy” with my out door lights. But i have a coditions that is

after:
Sunset -45 min
Before:
Sunrise

and i cant find any good node to use where i can use Sunset -45min as a condition.

Please help.

BR

Time node, I think.

Before sunrise is probably not needed since it will trigger on a time

isnt that valid only when its at time -45 min to sunset?

I want i to be valid -45 to sunset → Sunrise and only in that time frame

Sorry I thought of trigger.
Time range node:

1 Like