Hello everyone,
I'm wondering if it would be possible to include or remove a device from a Device Group (virtual device) by using an Action Group python script.
I've seen some examples of how to iterate through a list (array) that gets populated with the devices inside a device group and how to append a new device to such a list, but since I'm no programmer by trade, I have no idea on how to subsequently commit that changed array back to the device group it represents.
The idea here is to have a virtual device group containing a group of sensor devices and being able to "activate" or "deactivate" Sensor X by inserting/removing it from the device group.
I've been achieving the desired result by enabling / desabling Sensor X programmatically, but I'm in doubt if this is the best approach because I'm afraid having a z-wave sensor disabled for longer periods my impact my z-wave mesh network.
I hope I was able to explain what I mean above. If not, please do not hesitate to ask and I will try to clarify.
TIA
Cesar Guimaraes