Remove Delayed Actions

Forum rules

This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo

Posted on
Mon Jan 30, 2012 11:45 am
berkinet offline
User avatar
Posts: 3298
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

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.

Posted on
Mon Jan 30, 2012 7:23 pm
matt (support) offline
Site Admin
User avatar
Posts: 21427
Joined: Jan 27, 2003
Location: Texas

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

Posted on
Thu Feb 09, 2012 8:28 pm
matt (support) offline
Site Admin
User avatar
Posts: 21427
Joined: Jan 27, 2003
Location: Texas

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

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 5 guests