Armed stay causing lights to turn on

When ever I change state to armed stay several wifi controlled lights turn on, I’ve looked through the settings and can’t see any reason why. Could anyone help am I missing something?

which brand, how are they connect to ST?

Hi thanks for replying. I’ve sorted it now.

what was the issue? for others to learn

I had forgotten that I had put activate the automation when the alarm changes state in the I’m back automation. It was this that turned the lights on when I activated good morning which changed the alarm state from armed away to armed stay.
I couldn’t work out why the lights were coming on and looking in good morning didn’t show a trigger that could cause it because the trigger was in a different automation.