i am strugeling with an automation in node red that switch on the light by motion sensor during day light, between sunset and sunrise
I use this: