mirror of https://github.com/arendst/Tasmota.git
Updated Rules (markdown)
parent
8bcc84eb7f
commit
5d097d10ae
3
Rules.md
3
Rules.md
|
@ -53,6 +53,7 @@ Rule1 on <trigger1> do <command> break on <trigger2> do <command> endon
|
|||
A rule trigger can consist of:
|
||||
```
|
||||
[TriggerName]#[ValueName]
|
||||
[TriggerName]#[ValueName][comparison][value]
|
||||
[SensorName]#[ValueName]
|
||||
[SensorName]#[ValueName][comparison][value]
|
||||
Tele-[SensorName]#[ValueName]
|
||||
|
@ -65,7 +66,7 @@ Comparison operators are:
|
|||
|
||||
"=" operator is used for string comparison
|
||||
"==" operator is used for numerical comparison
|
||||
"|" operator is used for modulo remainder = 0 (i.e., exact division)
|
||||
"|" operator is used for modulo calculation remainder = 0 (i.e., exact division)
|
||||
```
|
||||
|
||||
Some of available triggers:
|
||||
|
|
Loading…
Reference in New Issue