diff --git a/Rule-Cookbook.md b/Rule-Cookbook.md index 9c0deffb..5ca5965d 100644 --- a/Rule-Cookbook.md +++ b/Rule-Cookbook.md @@ -1477,18 +1477,11 @@ Note that having a rule for the Button#State disables the power toggling of the ```lua Rule1 - ON Power1#state=1 DO WebSend [192.168.0.144] POWER1 1 ENDON - ON Power1#state=0 DO WebSend [192.168.0.144] POWER1 0 ENDON + ON Power1#state DO WebSend [192.168.0.144] POWER1 %value% ENDON + ON Power2#state DO WebSend [192.168.0.144] POWER2 %value% ENDON + ON Power3#state DO WebSend [192.168.0.144] POWER3 %value% ENDON -Rule2 - ON Power2#state=1 DO WebSend [192.168.0.144] POWER2 1 ENDON - ON Power2#state=0 DO WebSend [192.168.0.144] POWER2 0 ENDON - -Rule3 - ON Power3#state=1 DO WebSend [192.168.0.144] POWER3 1 ENDON - ON Power3#state=0 DO WebSend [192.168.0.144] POWER3 0 ENDON - -Backlog Rule1 1; Rule2 1; Rule3 1 +Rule1 1 ``` [Back To Top](#top)