Routine Powers Off Before Set Time

I have a Z-Wave switch connected to my Smartthings Hub that I use to turn on and off my porch and Christmas lights. I have it set to power on at sunset, which is does, and to power off at 11:59 pm, but it powers off at 10:00 pm. There are no other routines set. Any ideas why it does this and how to get it to power off at 11:59 pm as it should? It’s been like this for months.

are you using one or two routines? can you post screenshots so we can see what you are doing?

Do you use Alexa? If so, check if you have Hunches turned on.

Found it. I must have setup a routine in Alexa that I’d forgotten about