mirror of https://github.com/arendst/Tasmota.git
Changed mistake in the Scale command
parent
805c41dd88
commit
b41f6ab25d
2
Rules.md
2
Rules.md
|
@ -963,7 +963,7 @@ rule
|
|||
on tele-SR04#distance do backlog var1 %value%; event checklimit=%value%; event senddistance endon
|
||||
on event#checklimit>128 do var1 128 endon
|
||||
on event#checklimit<69 do var1 68 endon
|
||||
on event#senddistance do backlog SCALE1 %var1%, 128, 69, 100, 0; event pubdata endon
|
||||
on event#senddistance do backlog SCALE1 %var1%, 128, 69, 0, 100; event pubdata endon
|
||||
on event#pubdata do publish tele/pannrum-temp/SENSOR %var1% endon
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue