This step modifies the value of a variable.
Inputs
Variable
The name of the variable to change.
To create a new variable, simply start using it in a sequence.
You can also change the value of a parameter previously retrieved from the IFTTT webhook trigger. Reference them by including their name in curly brackets, for example {time}
or {temperature}
.
Change
The way in which to change the variable. There are three options:
- Increase the value, for example +1 or +5
- Decrease the value, for example -1 or -7
- Set to a particular value, for example =6, =-3 or =yes
Be sure to include on of the signs + - or = at the start of the value.
You can also use parameters from the IFTTT webhook trigger in the value field. Reference them by including their name in curly brackets, for example ={time}
or +{temperature}
.
You can also use the value of another variable by enclosing the other variable name in square brackets, for example =[people_at_home]
or +[my_counter]
.
For variables with a value of true or false, you can toggle the value by entering <toggle>
for the change.