Tasker integration problem:

Tasker integration problem:

Setting a variable to 0 works, but setting it to 1 doesn’t.

Replicate:

Go to Bindings of an item, and set the Visibility property to $aVariable.

Go to Tasker, create a Task to set $aVariable to 0 (with Lightning Launcher Variable plugin).

Play the Task. The item should now be hidden.

Go back to Tasker, change the Task to set $aVariable to 1.

Play the Task. Nothing will have changed.

Tested with the following values: 0, 1, 2, 5. Works only with 0.

]]>
« (Previous Post)

2 Commentsto Tasker integration problem:

  1. Anonymous says:

    < ![CDATA[

    Pierre Hébert​ The exact issue is that using the tasker plugin the variable is set as a string, and isn’t automatically parsed to number. It seems the visibility property defaults to 0 when a string is set.



    Current workaround: set the visibility property to


    parseInt($aVariable)

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Ah perfect thank you.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *