Homey’s triggers work on an actual state changes, like “[IF] it turns 5 o’clock” or “[IF] a light turns on”.
And between 5 and 7 PM is a condition (so AND).
So your thinking is the other way around then you should:
[IF] motion activates;
[AND] it is between 5 and 7 pm; (build in Time card, no apps needed)
[THEN] send notification;
