Time dusk curtain closed

hi, I would like that when the vacuum cleaner returns to the base, and we are in dusk, the curtains automatically close.
I tried with the time range node but it seems that it does not recognize solar events but only the hours. do you have a valid alternative?

https://pastebin.com/yxG69Gy1

in the screenshot I see time range node, not time check. you have this options in time range node already. i can’t open your flow (from work). you have the correct latitude and longitude?

Yes i have