In the trigger section of
http://wiki.indigodomo.com/doku.php?id= ... e#pluginpy, the first three methods refer to triggers in the argument list, but the last three refer to devices. I'm assuming that's a cut and paste error, and all the arguments are really trigger objects.