Events triggered in sequencers not showing in viewport until after I stop the simulation

So basically I have two triggers, one to turn off and on a group of lights. I know the code itself is working and everything, no errors or anything. It’s just that I play the simulation, then start sequencer, the camera moves fine and the light events ARE triggered but it doesn’t show in real time. The lights go from off to on when I click “stop” and vise versa.