Hello everyone,
I have defined a virtual device group, containing several movement sensor devices.
Whenever ANY of the sensor devices turns on, the group device is triggered and the intended action group runs. Everything seems to work as designed.
Each individual movement sensor also have action groups assigned to them for individual action to be taken depending on each sensor.
Now I'm willing to clean up the need for code in several different parts of the solution, concentrating all logic inside the group device action group. The problem is, I don't know how to figure out, inside a python script, which member of the group triggered ...
So I thought maybe one of you Python experts could lend a hand and point me in the right direction. Any help will be much appreciated.
Best regards,
Cesar Guimaraes