Repository navigation
Powerplug BUTTON1#ACTION=SINGLE IF statement not working #24689
|
Hi, I created following Rule: Button1#Action=DOUBLE is working as it should. I have tried several different IF commands but it cant get it to work properly. Thx, Henk Console log: |
Replies: 2 comments
|
BTW. Your log does not match the rule set you posted first. |
|
@sfromis |
Rule1 ON Button1#Action=SINGLE DO IF (%Power1%==0) Power1 1; RuleTimer1 15 ENDIF ENDONBTW. Your log does not match the rule set you posted first.
IF (Power1#state==0)is very invalid, you cannot use trigger expressions with#anywhere but in the trigger part of the rule.