1) Give a description of the problem
I’m curious if there’s an advantage to using On {Battery_Devices}'s battery as opposed to If {Battery_Devices}'s battery changes. (Or generally the value of using On as opposed to If).
Also, I’ve noticed that several of the battery level handlers start with something like:
if {Battery_Devices}'s battery changes
end if;
every 1 hours, at :00 past the hour do
end every;
There’s nothing inside these trigger blocks. I’ve been putting the code inside the If and Every blocks. Do those empty blocks trigger and then pass execution to the code beneath it anyway?
2) What is the expected behavior?
Normally, I would expect the On or Every to only execute the code in the block.
3) What is happening/not happening?
Yet, it appears that the piston works with no code in the On or Every block(s).
**4) n/a
**5) n/a