Are homey flows "stupid"

Use as trigger:
IF: Every 1 minute
AND: time between: x and x (AND light is OFF as extra)
THEN: TURN light on
ELSE: Turn light off

This should do the trick you intented with 1 flow