mirror of https://github.com/arendst/Tasmota.git
Updated Rule Cookbook (markdown)
parent
a65cc739d2
commit
8a5e03de96
|
@ -473,7 +473,7 @@ Rule on switch1#state=1 do var1 100 endon on switch1#state=0 do backlog var1 0;
|
|||
|
||||
` on button1#state do backlog power1 %value%;`
|
||||
|
||||
* On Button press the Light in the Staircase will switch on/off
|
||||
* On Button press the Light will toggle on/off
|
||||
|
||||
` RuleTimer1 600 endon`
|
||||
|
||||
|
@ -481,7 +481,7 @@ Rule on switch1#state=1 do var1 100 endon on switch1#state=0 do backlog var1 0;
|
|||
|
||||
` on Rules#Timer=1 do power1 off endon`
|
||||
|
||||
* After the RuleTimer1 expires the light will be switched off (if you forgot to switch it off)
|
||||
* After the RuleTimer1 expires the light will be turned off (if you forgot to turn it off)
|
||||
|
||||
|
||||
[Back To Top](#top)
|
||||
|
|
Loading…
Reference in New Issue