Playstation 4 integration does not always respond

I’m trying to create an automation for my son so that he can use his IKEA volume remote and shut down everything in the room, including the playstation.

Sometimes it seems the playstation does not respond but the media entity is updated with what game is on.
I even tried to reload the integration but nothing I did could not get HA to turn it off, but when I used HA to switch game, the TV displayed the home assistant has connected and after that I could turn it off.
So how do I make sure this connection happens without turning on a specific game from HA?
Is there any command that makes sure HA has control?