That's one solution, but I've already got a sequence that opens the shade and taps the bluetooth button. Oh, I could try the text option instead of emulated touch. OK, I'll try it.
That popup has only two options: deny; allow. It's stupid. I know it's not Tasker's fault, but I thought someone else might have found a solution. I can't find a way of permanently granting permission.