mirror of https://github.com/arendst/Tasmota.git
added all comparison operator descriptions
parent
ea0a8e7209
commit
47d53a8ec3
17
Rules.md
17
Rules.md
|
@ -60,14 +60,17 @@ Tele-[SensorName]#[ValueName]
|
||||||
```
|
```
|
||||||
|
|
||||||
Comparison operators are:
|
Comparison operators are:
|
||||||
```
|
|
||||||
"=", ">", "<", "|"
|
|
||||||
"==", ">=", "<=", "!="
|
|
||||||
|
|
||||||
"=" operator is used for string comparison
|
|Operator|Function|
|
||||||
"==" operator is used for numerical comparison
|
|---|---|
|
||||||
"|" operator is used for modulo calculation remainder = 0 (i.e., exact division)
|
|`=` | equal to (used for string comparison)|
|
||||||
```
|
|`==`| equal to (used for numerical comparison)|
|
||||||
|
|`>`| greater than|
|
||||||
|
|`<`| lesser than|
|
||||||
|
|`!=`| not equal to|
|
||||||
|
|`>=`| greater than or equal to|
|
||||||
|
|`<=`| lesser than or equal to|
|
||||||
|
|`\|`| used for modulo calculation remainder = 0 (i.e., exact division)|
|
||||||
|
|
||||||
Some of available triggers:
|
Some of available triggers:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue