This is a very basic piston. It simply watches for (most) of my Iris buttons throughout the house and has most of them run as toggles. There are a couple that do specific actions rather than plain toggle, but for the most part the example is the same.
The main point for posting this is to show multiple buttons all within the same piston. You do not need to create a separate piston for every button.
Button control (Iris button, aeon mini mite, etc)
Cozdabuch
#1
ajma
#2
Is there a reason individual IF blocks are used instead of just having one with a bunch of else-if statements? Are there performance/memory implications of one vs the other?