Corrected Example 8

Adrian Scillato 2018-06-26 00:29:29 -03:00
parent 03ff38e683
commit 7b1c9c75ef
1 changed files with 2 additions and 2 deletions

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