- Code: Select all
indigo.actionGroup.execute(123)
My use case is actually to be able to use a variable (containing the number of seconds) when delaying actions. The UI doesn't let me do this currently, so I deduced I should do this in script. But then I realized I couldn't execute delayed Action Groups.
Am I missing something? What's a suggested way to do this? For more context, I have a process of turning some lights off after an absence of motion. I want the amount of time to be configurable as a variable, because I expect I'll need to tweak it up/down at times.
Thanks!