Named Trigger without waking screen?

I have setup a couple of named triggers that are being invoked from HomeAssistant to control Spotify, but when I call them (through http URL) the mac screen wakes up.

Does anybody know if there is a way to avoid the screen waking up?

The triggers basically do Play/Next/Prev Mac functions