View unanswered posts | View active topics It is currently Thu May 23, 2013 4:53 am



Reply to topic  [ 3 posts ] 
 Remove Delayed Actions 
Author Message
User avatar

Joined: Nov 18, 2008
Posts: 1721
Location: Berkeley, CA
Post Remove Delayed Actions
I have searched the forums and the docs, but I can't seem to find the Python method to "remove delayed actions."

I tried indigo.actionGroup.removeDelayedActions(), but no joy.


Mon Jan 30, 2012 11:45 am
Profile
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 11692
Location: Texas
Post Re: Remove Delayed Actions
Hmmm... looks like it is partially missing currently (we'll get it added). However, currently you can remove delayed actions for a specific device via:

Code: Select all
indigo.device.removeDelayedActions(123)

But you cannot remove other delayed actions.

_________________
Image


Mon Jan 30, 2012 7:23 pm
Profile WWW
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 11692
Location: Texas
Post Re: Remove Delayed Actions
In Indigo 5.0.4 (not yet available) the following will work:

Code: Select all
indigo.server.removeAllDelayedActions()
indigo.device.removeDelayedActions(someDevice)
indigo.trigger.removeDelayedActions(someTrigger)
indigo.schedule.removeDelayedActions(someSchedule)

_________________
Image


Thu Feb 09, 2012 8:28 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.