From b41f6ab25d09d6f1f824ee869d88caf3450b69bb Mon Sep 17 00:00:00 2001 From: Gunnar Norin Date: Wed, 5 Dec 2018 21:55:25 +0100 Subject: [PATCH] Changed mistake in the Scale command --- Rules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rules.md b/Rules.md index 59bee6f9..2c3473eb 100644 --- a/Rules.md +++ b/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 ```