mirror of https://github.com/arendst/Tasmota.git
Updated Rules (markdown)
parent
bc426157b9
commit
61c499df6b
2
Rules.md
2
Rules.md
|
@ -31,7 +31,7 @@ Every rule needs to follow this syntax:
|
||||||
Alternatively you can end the rule with `break`.<br>
|
Alternatively you can end the rule with `break`.<br>
|
||||||
**`break`** will stop the execution for all the triggers that follow this rule inside the rule set. If a trigger that ends with `break` occurs, the following triggers of that rule set will not be executed. This allows the rules to somewhat simulate an "IF THEN ELSE" statement.
|
**`break`** will stop the execution for all the triggers that follow this rule inside the rule set. If a trigger that ends with `break` occurs, the following triggers of that rule set will not be executed. This allows the rules to somewhat simulate an "IF THEN ELSE" statement.
|
||||||
|
|
||||||
Rule sets are defined by using the [`Rule<x>`](Commands#rule) command. After defining one you have to activate the rule set (turn it on) using `Rule<x> 1`. Similarly you can deactivate the rule set using `Rule<x> 0`.
|
Rule sets are defined by using the [`Rule<x>`](Commands#rule) command. After defining one you have to enable the rule set (turn it on) using `Rule<x> 1`. Similarly you can disable the rule set using `Rule<x> 0`.
|
||||||
|
|
||||||
> See [Commands](Commands#Rules) for a complete list of rules related commands.
|
> See [Commands](Commands#Rules) for a complete list of rules related commands.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue