is there a way to get the name of the trigger of a group. There are several devices in a group. One of these is activated, which in turn activates the whole group. But now I want to find out which device has activated the group.
Tried to get the whole devices in group but nothing happend:
Code: Select all
local deadDevices = domoticz.groups(item.name).devices().forEach(function(device)
return device.name
end)
print(deadDevices)