Ha audio reload from script

Hello,
I connect my bt speaker to ha, and it works for a time, but then disconnects.
Implemented the reconnect command, but i have to exec the ha audio reload command, to be availeable to addons.
It would be great if i could somehow call this (like the addon restart command) from a script too, not just the terminal.
Thanks!

Yeah, ha commands not working from it, tried it already. But with this you can call the Bluetooth connect.

Did you read this bit:

There is some advice here: SSH'ing from a command line sensor or shell command

Ok, not impossible, but as you saw it is ugly to do, while it could be a simple service call without all the tweaking.
This is why i posted it into the feature request part.

Exactly what command do you want added as a service?

The “ha audio reload” command

Ok, literally that, I should have got that.