Updated Rule Cookbook (markdown)

trentongg 2019-09-22 16:06:34 +10:00
parent ea255d1357
commit 53d209dc31
1 changed files with 1 additions and 1 deletions

@ -52,7 +52,7 @@ Long pressing on switch1 sends `POWER 2` (toggle action) command to the `tasmota
```
SwitchMode 5
SetOption32 20
Rule on switch1#state=3 do cmnd/tasmota02/POWER 2 endon
Rule on switch1#state=3 do publish cmnd/tasmota02/POWER 2 endon
Rule 1
```
Notice we use `Rule` which edits `Rule1` rule set. They can be used interchangeably.