Updated Rule Cookbook (markdown)

Adrian Scillato 2019-05-29 20:06:01 -03:00
parent a370583404
commit 7eb3042d48
1 changed files with 6 additions and 6 deletions

@ -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
```