mirror of https://github.com/arendst/Tasmota.git
Updated Rule Cookbook (markdown)
parent
a370583404
commit
7eb3042d48
|
@ -593,8 +593,8 @@ So,
|
|||
|
||||
And that you want:
|
||||
|
||||
**single press**: Turn relay 1
|
||||
**double press**: send a mqtt message
|
||||
**single press**: Turn relay 1<br>
|
||||
**double press**: send a mqtt message<br>
|
||||
**hold 2 secs**: send another mqtt message
|
||||
|
||||
```
|
||||
|
@ -612,9 +612,9 @@ Rule 1
|
|||
|
||||
And that you want:
|
||||
|
||||
**single press**: send a mqtt message
|
||||
**double press**: Turn relay 1
|
||||
**hold 2 secs**: send another mqtt message
|
||||
**single press**: send a mqtt message<br>
|
||||
**double press**: Turn relay 1<br>
|
||||
**hold 2 secs**: send another mqtt message<br>
|
||||
|
||||
```
|
||||
ButtonTopic 0
|
||||
|
@ -637,7 +637,7 @@ please note that `SetOption11 0`.
|
|||
|
||||
And that you want:
|
||||
|
||||
**single press**: Do nothing
|
||||
**single press**: Do nothing<br>
|
||||
**hold 2 secs**: Toggle relay 1
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue