You can use com.intangibleobject.securesettings.plugin. It allows all kinds of bluetooth shenanigans, aswell as conn/disconnecting devices one by one.
If it needs to be shell, call securesettings intents, or export previously created actions from ijt via XPosedEdge.