This condition checks the value of a variable against a certain value.
Inputs
Variable
The name of the variable to query.
You can also use parameters from the IFTTT webhook trigger or custom webhook trigger in the value field. Reference them by including their name in curly brackets, for example {time}
or {temperature}
.
Comparison
The type of comparison to perform. Options are:
- equals - the variable matches the specified value
- does not equal - the variable does not matches the specified value
- above - the variable is above the set value
- below - the variable is below the set value
- contains - the variable contains the value specified
- does not contain - the variable does not contain the value specified
Value
The value to perform the comparison against.
You can also use parameters from the IFTTT webhook trigger or custom 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. Reference them by including their name in square brackets, for example [people_at_home]
or [my_counter]
.
Case sensitive
When using the comparison equals, does not equal, contains or does not contain you have the option to specify whether a text comparison should be case sensitive. If selected, a text value must match exactly - for example Yellow and yellow would be considered as different.