I'm not sure a condition is what you're looking for - if you want to have a schedule execute at some fixed time before sunset then you'll just create a
schedule with a
time specifier of
Sunset +X minutes. A condition only operates at the time a schedule or trigger fires and I think you need to specify when the schedule fires (not if it should execute the actions at execution time).