mirror of https://github.com/arendst/Tasmota.git
Updated Rule Cookbook (markdown)
parent
ea255d1357
commit
53d209dc31
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue