Page 1 of 1

Revoke command

Posted: Wednesday 17 January 2018 9:39
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?

Re: Revoke command

Posted: Wednesday 17 January 2018 9:50
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