1
Solved

Bluetooth Disconnect action fails. Bluetooth Connect works fine

I'm on Android 14 and Tasker 6.3.13.

>Bluetooth Connection *Action* **Disconnect** *Device* [Device's MAC]

>Bluetooth Connection *Action* **Disconnect** *Device* [Device's Name]

This fails. The exact same code but with **Connect** instead of **Disconnect** works fine. And yes, I'm sure the device is connected when I try to run the code.

Someone had a similar problem [here](https://www.reddit.com/r/tasker/comments/1eadas5/my_task_that_turns_off_bluetooth_no_longer_works/) and I can confirm that it does work if you turn off calls before trying the disconnect action. However, as they remarked, that's not really viable for headphones.

1 reply

Unfortunately Tasker uses an unofficial Android API to do the disconnecting so it won't work all the time, sorry! :( Wish I could help.

Topic is closed for comments