I've worked on the virtual switches and the program import (and put in Github). Seems like Hubitat has a limitation on the import right now. For example, if I import the program and hit done and go back into the program it shows the actions that have been created. If I am using a random time in the actions I have to go into each action and hit "done" and then import the program again.
It seems like Hubitat has to create some of the settings before it lets you populate them. It makes it so you have to import the program a few times, but it does eventually work.
Ok, I have released a version that uses child devices instead of virtual switches. To be honest, the original virtual switch setup was created because SmartThings didn't yet have child devices.
You probably need to click "Save Preferences" to create the devices if you update the driver.
Also, you probably will want to get rid of all the virtual devices. Unless you have a bunch of automations setup to use them then you might want to stick with the older driver and app.
I haven’t moved to the new code yet but previous code wouldn’t allow you to really activate the through the device. Always seemed to be an issue for me.
So in the old code the on1, off1, etc. would only work if you created programs through the SmartLife App. On the new driver I created "default programs" that will work until you create your own. So those buttons wouldn't do anything without intervention in the old driver.
Alright got it now. So my next question is will there be issues with the child devices all having the same program name? I have 3-H801s running currently.
You can rename the child devices to whatever works. You can also delete individual child devices, but right now there is no way to add them back unless they are all deleted.
@cuboy29 I haven't been seeing that in my logs So I'll have to take a look.