I'd like to send 2 successive orders to one dimmer device (a light).
Sending 2 command is OK for On or Off command, but I don't know the syntax for a dimmer
Here is an example of working script

Code: Select all
commandArray[1] = {[light] = 'On'}
commandArray[2] = {[light] = 'Off AFTER 10'}

Code: Select all
commandArray[1] = {[light] = 'Set level 30'}
