return { active = true, on = { devices={ 'onscript7', 'onscript7b' } }, execute = function(domoticz, device) return 'script7' end }