The goal is to have my Z-Wave remote toggle a particular device ON and OFF with the press of button 1 (toggle function).
This is how I set it up, but I am having some issues:
I created 2 action groups. One Action Group runs a Python script to turn the device ON, the other action group turns it OFF. These separate scripts work in isolation.
I then created a Virtual On/Off Device, specifying the appropriate Action Group for On Group and Off Group. I did not check Supports Toggling for now.
I then created a trigger that looks for a Z-Wave command of button 1 pressed, and an action that says Toggle On/Off (Light/Appliance Control) for the Virtual On/Off Device above.
So the problem is that the On/Off python script command never makes it to the device.
If I turn on Supports Toggling in the Virtual Device, and select the On Action Group, the device will turn on, but never off.
I read the documentation, but clearly still don't understand how Virtual Devices are supposed to work, or maybe what I am doing is overcomplicating things.
FYI - the devices in question are TP-Link, and I am going back to Python scripts for everything because I have been having issues with the TP-Link plugin. The Python scripts are solid for what I want to do.