dalec:
But the idea of a virtual switch still is valid for you in not only this use case but you may find in the future as well so I would spend just a little time getting a handle on the concept because it will serve you well.
I try to find the FAQ thread that I learned How to Create a Virtual Switch/Button but I can"t seem to locate it> @JDRoberts can maybe help us here? Maybe I read how in the middle of a thread so its really hidden?
Yeah, The forum has a lot of information, but it’s not always easy to find. There’s a subcategory in the forum under “devices” that has most of the FAQs, including the one on virtual devices.
Need a FAQ for the simplest version of this: a virtual on/off switch. Maybe even two FAQs, one for why you would want one with use case examples and one step by step how to for creating one in ST.
Thanks!
2023 Update
Since groovy will be going away soon, so will groovy virtual switches.
See the new FAQ for on the replacements:
FAQ: Creating Virtual Devices Without the IDE