I have about a dozen different Tasker/SharpTools/AutoVoice profiles setup for controlling various devices. I have quite a few of the Cree Connected LED bulbs and want to be able to dim them. I already have simple on/off profiles that work great. The issue I am having is that it appears that either Tasker or SharpTools isn’t doing proper variable substitution.
Here is my task:
I used the “Variable Sets” to take AutoVoice out of the equation. This should set my “Sofa Table Lamp” to a level of “50”.
Here is my SharpTools “A Thing”:
I have it set to only provide a single parameter (as opposed to the 2-parameter setLevel) since it doesn’t appear that the cree bulbs support this.
The problem is that when I execute this task, it appears SmartThings actually receives the String “%level%”:
The GUI actually displays the String “%level%” and the lamp is unchanged. If going back to my “A Thing” and replacing the variable “%level” with a hard-coded number, everything works just fine.
Am I doing something wrong?
Also shame on you SmartThings for not sanitizing your input!