I have a couple of scripts that look like this
Code: Select all
commandArray = {}
if devicechanged['Trigger'] == 'On'
then
commandArray['Device_1']='On'
commandArray['Device_2']='On'
commandArray['Device_3']='On'
commandArray['Device_4']='On'
end
return commandArray
I've now added a 5th device and things got MUCH worse.
Is there a way to insert a tiny pause (10ms?) between each device being told to turn on?
many thanks
Sean