Wireless ADB without media_player, possible?

I added the ADB bridge and it’s reporting that it’s connected. But the media_player you connect to the IP is unavailable.
It happens every now and then and the only way I have managed to get the ADB to work again is to restart HA to make it reload the media_player.

But is it possible to send the ADB commands without the media_player?
I only want to send keystroke 26 (power button), I don’t need the rest of the media player.
On a computer you can do it from the command line, but is there any way to do that from HA on a pi?