Revoke command

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Revoke command

Post by EddyG »

I use commands like:

Code: Select all

xxx.switchOff()
xxx.switchOn().afterMin(30)
Is there a possibility to revoke the last command between the first command (Off) and the last command (On) with a new script?
Are those afterMin() command stored somewhere?
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Revoke command

Post by EddyG »

Sorry, I saw your pull request too late. https://github.com/domoticz/domoticz/pull/2065
I saw ".cancelQueuedCommands()" and that is what I am looking for... Tnx.. :D
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest