kw123 wrote:
- Code: Select all
def startup(self):
self.sleep(60.)
Gut reaction: this probably isn't a good idea. The Indigo Server expects responses from plugins quickly and has a variety of things that it calls back in to a plugin for. If a plugin is sleeping in the middle of its startup sequence, then anything the server may try to contact the plugin about would likely timeout (deviceUpdated calls when a plugin subscribes comes to mind though that might be solved by clever ordering).
I haven't actually tested, so I can't be sure, but on the surface it seems like a bad idea.