I have a problem and don't know what to do next.
if I want to run this script here:
- return {
on = {
timer = { "every 1 minute" } -- Timer alle 1 Minute auslösen
},
execute = function(domoticz, timer)
commandArray = {} -- Deklarieren Sie ein leeres commandArray
-- Schalten Sie den Schalter "testschalter" ein
commandArray['testschalter'] = 'On'
return commandArray -- Geben Sie das commandArray zurück, um den Schalter zu steuern
end
}
Error: EventSystem: Lua script test did not return a commandArray
I think I've checked and done everything but I can't get any further. Can someone help me?