mirror of https://github.com/arendst/Tasmota.git
Corrected Example 8
parent
03ff38e683
commit
7b1c9c75ef
4
Rules.md
4
Rules.md
|
@ -320,8 +320,8 @@ When it is needed that a sensor value is only sent when it changes a delta, can
|
|||
|
||||
```
|
||||
rule
|
||||
on AM2102#temperature>%var1% do backlog var1 %value%; publish stat/sonoff/temp %var1%; var2 %var1%; add1 2; sub2 2 endon
|
||||
on AM2102#temperature<%var2% do backlog var2 %value%; publish stat/sonoff/temp %var2%; var1 %var2%; add1 2; sub2 2 endon
|
||||
on SI7021#temperature>%var1% do backlog var1 %value%; publish stat/sonoff/temp %value%; var2 %value%; add1 2; sub2 2 endon
|
||||
on SI7021#temperature<%var2% do backlog var2 %value%; publish stat/sonoff/temp %value%; var1 %value%; add1 2; sub2 2 endon
|
||||
```
|
||||
|
||||
#### 9. Simple Thermostat Example
|
||||
|
|
Loading…
Reference in New Issue