Hi Chaps,
Could someone explain the difference between endif and endon used in espeasy rules and when each one should be used ?
I have looked at the wiki and it seems endif is needed when if / else statements are used,would like some further explanation.
cheers
endif vs endon
Moderators: grovkillen, Stuntteam, TD-er
Re: endif vs endon
Hello,
Endon ends an "On event"
Endif ends and If
on <trigger> do
if <test>
<action>
<action>
endif
endon
More here :
https://espeasy.readthedocs.io/en/lates ... Rules.html
-D
Endon ends an "On event"
Endif ends and If
on <trigger> do
if <test>
<action>
<action>
endif
endon
More here :
https://espeasy.readthedocs.io/en/lates ... Rules.html
-D
-D
Re: endif vs endon
Thanks,
Are looking at the linked age now,
Cheers
Are looking at the linked age now,
Cheers
Who is online
Users browsing this forum: No registered users and 30 guests