Question about Automations and Control Center pull down

So I have a couple of Automations, 2 of them are for this, when I open this or that app, Turn Orientation Lock ON and another for when I open other apps, turn volume down.

I also have the other way around, when those apps are closed, it reverts what it did.

What I noticed just yesterday is that when I’m on one of those apps, if I pull down the Control Center, the result is that whatever the automation did gets undone.

Example, when I open Calculator, an automation Turns Orientation Lock ON, but if I pull down on control center it turns OFF, is there any way to prevent this? is it a new bug?

ScreenRecording_08-11-2026 11-50-24_1.MP4