Hey all,
I’ve tried to research this for a number of hours now and I’m just coming up blank. I got a lot of pieces and parts, but I think I’m still missing something and I just can’t seem to get it all together.
I’m trying to write a new SmartApp that will be triggered when a user turns on a virtual on/off tile. I could write the app with the user manually creating the tile, but I’d like to do it via a virtual child device. Unfortunately I’m just not getting how it all works.
I’ve read the documentation but that seems more geared towards LAN devices.
So, the specific questions I guess are:
1.) Can this app work? That is, can I create a virtual device AND subscribe to that device as my trigger for when to run the app?
2.) What’s the command to create a child device? How is this done? Is it it’s own procedure?
3.) How to I specify the name of this device so that the user can fine/use it later?
Sorry, I know this question has come up before and I tried to read previous threads to figure it out, but I’m just not getting it.