AutoVera Multiple instances of the same variable in the same task

Discussion in 'AutoApps' started by Andrew Tierney, Oct 22, 2016.

  1. Andrew Tierney

    Andrew Tierney New Member

    Joined:
    Aug 3, 2016
    Messages:
    12
    Likes Received:
    0
    I want to make a task that takes the states of multiple sensors and then does a bunch of If statements.

    How can I have a task with multiple instances of %avarmed() that reference 3 different sensors?

    eg:
    Profile
    triggered by front door being locked


    Task
    if %avarmed(sensor1) = 1
    do this
    Else
    Do that

    if %avarmed(sensor2) = 1
    Do something
    else
    Do another thing

    if %avarmed(sensor3) = 0
    do this
    Else
    Do that
     
    Last edited: Oct 22, 2016
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,480
    Likes Received:
    801
    Can you please export your task's description (not xml) so I can take a look? Long-click the task in Tasker->export description Thanks in advance
     
: autovera

Share This Page