Simple Switch Automation issue

I’m not sure why I can’t wrap my head around a simple switch automation in Node Red.

I have a fan in my kegerator and I want it to turn on and off at certain times. I originally had the call service on toggle but I found that if I turn the fan off before the scheduled end time the keg fan will turn back on when the scheduled end time is run. I’ve tried multiple timer modules but they all want both a start and off time but can’t figure a way to run if it’s the on time then do the call service turn_on, if it’s the off time then do the call service turn_off.

Not sure what I’m missing…

edit: I was making it to difficult. I did a simple timestamp input and changed the “Repeat” to “at a specific time”. Then made one for the on sequence and off sequence. This should solve my problem.