Now that my device is on Nougat I've managed to set up a quick setting tile which toggles a task.
I've tried to set it so that the tile icon changes dynamically to indicate the toggle state (as with Bluetooth and NFC qs), but no joy.
Runs a task I think you mean (just to exclude that you mean something else)I've tried to set it so that the tile icon changes dynamically to indicate the toggle state (as with Bluetooth and NFC qs), but no joy.How ?Pent
So the problem is with my task number 13, specifically the If state in action 2.
Tested this and the tile icon changes as per the qs task actions (active/inactive).
Despite trying numerous %STATE and %PENABLED options I've yet to find a way to successfully link the qs task to the task which toggles the profile in question.
As expected, when the first action here is run within Tasker the tile is set to active, and then back to inactive when the other two actions are run. However the tile remains static when pressed, although the profile is successfully toggled.