First, let me say. Wow! This is AWESOME. Exactly what I need.
I'm hoping someone here maybe Bouke Haarsma can provide an example of how to respond to an event when a light gets switched on/off or whatever.
I can't seem to figure out where to put the code for event handling.
help?