Code: Select all
execute = function(domoticz)
local groupDevices = domoticz.devices().filter(function(device)
return (device.deviceType == "Group")
end)
groupDevices.forEach(function(groupDevice)
print(groupDevice.name)
end)
end