diff --git a/Rules.md b/Rules.md index 3d7c4626..917f51ee 100644 --- a/Rules.md +++ b/Rules.md @@ -738,7 +738,7 @@ buttontopic 0 setoption1 1 setoption11 1 setoption32 20 -rule on button1#state=3 do pubilsh cmnd/topicHOLD/power 2 endon on button1#state=2 do pubilsh cmnd/topicDOUBLEPRESS/power 2 endon +rule on button1#state=3 do publish cmnd/topicHOLD/power 2 endon on button1#state=2 do publish cmnd/topicDOUBLEPRESS/power 2 endon rule 1 ``` @@ -757,7 +757,7 @@ buttontopic 0 setoption1 1 setoption11 0 setoption32 20 -rule on button1#state=3 do pubilsh cmnd/topicHOLD/power 2 endon on button1#state=2 do pubilsh cmnd/topicSINGLEPRESS/power 2 endon +rule on button1#state=3 do publish cmnd/topicHOLD/power 2 endon on button1#state=2 do publish cmnd/topicSINGLEPRESS/power 2 endon rule 1 ```