It looks like there's no way to make a plugin Event about something - i.e. to attach runtime data to it. In particular, there seems to be no way to make an Event "about this device". So I'm currently modeling device events by creating state variables and having the programmer use state-change triggers on those. (That's sometimes a bit hokey - to make a "hey, look at this device!" event, I ended up with an "incident count" state variable just so I have something reliable that changes.)
So what good are plugin events, actually? Are they just meant to be about global things that affect the whole plugin? (I don't actually have any plugin state anywhere; everything's in devices. Too much object-oriented training, I guess.)
Cheers
-- perry
P.S.: How far away is the ability to run Python code as an action? I'm now missing that very, very much.