Conditions are used to specify which state of an Auto-switcher
element is active at a particular time. Each condition consists of an entity, an operator and
a value e.g. wifi, is, on.
Entities are things like Bluetooth, Wifi or a Tasker variable.
- Is / Isn't
The current value is or isn't the same as the one specified.
- Matches / Not Matches
The current value does or doesn't match
the specified pattern.
- < / >l
The current value is less than or greater than the specified value
When the condition operator is Matches or Not Matches, the condition value is a pattern which specifies
how the entity should look (or not look) for the state to be active.
- if the pattern is left blank, it will match against anything
- if it is not blank it must match the whole entity value
- / means 'or', it divides up multiple possible matches
- a * will match any number of any character. It's not possible to specifically
match a * character.
- a + will match one or more of any character. It's not possible to specifically
match a + character.
- matching is case-insensitive (magic will match with MagiC)
unless the pattern contains an upper-case letter e.g. Magic* will
not match against magically, but it will match against Magic Roundabout
- a ! at the very start of a match means not e.g. !*Magic*/*Yellow* matches anything not
containing the words Magic or Yellow
- it is not possible to specifically match a ! character at the start of a target (but you could
- help matches help but not helper.
- help* matches helper
- *the* matches the (anywhere)
- 123+ matches 123 and minimally one more character
- + matches anything with at least one character (non-empty)
- the*way matches the other way and the first way, amongst others
- Help/*shell matchs Help or anything ending with shell, case-sensitively
Battery Percent Condition
To conserve battery, this condition is only rechecked once every ten minutes. If the current
level is less than 10% or greater than 90% it's checked every 2 minutes.