I’ve used the code from @ChadCK and @dalec to create a Z-Wave 3-Speed Fan DTH with children switches. What this means is that whatever you name your device, three additional child devices will be created. They will be called ‘DEVICE NAME’ LOW, MEDIUM and HIGH. These additional child devices can be accessed from other smart apps and more importantly from an Echo or Google Home device. These child devices will not show up on your device list (only inside the parent DTH).
As a note, this should be fully upgradeable from ChadCK’s DTH (should not break any existing integration).
Continues to support custom commands:
You will need to install both the parent and child DTH from my repository at jhamstead/jhamstead to IDE.
As a note, the child devices are there if you have LOW, MED and HIGH buttons in your device. Those buttons will be missing if the child devices fail to install. They are accessable through routines, SmartApps, Google Home and Amazon Echos.
If not, in IDE you’ll need to install and publish both the Z-Wave Fan Control and Z-Wave Fan Control - Child Device DTHs. Afterward, set your device to Z-Wave Fan Control in IDE. The children should automatically be created. You can force a child build by entering and saving the settings for your device in the SmartThings Classic App.
If that still fails PM me with your live logs. I’m sure we’ll be able to track down the issue.
Thanks for the handler, works great in ST. With my echo’s I’m experiencing so issues. “Alexa fan medium” doesn’t work but “Alexa fan med” does. And “Alexa fan low” does nothing while the fan is off and lowers the current speed by 10% when the fan is on. “Alexa fan on low” works in both cases.
I’ve now installed a second GE Z-Wave Controller Switch and set it up to use your DTH. I’m wondering if I need to have a seperate DTH for each fan. As it is, I just pointed my new fan controller device to the existing copy of your DTH. The parent and three children were created and I can use them with ST Classic, Action tiles but when using Alexa, the three children only turn the fan on and off at it’s previous setting. I can tell Alexa to set a certain percent and that works - including setting the proper child switch on/off. I do not have this issue with the original fan that was set to use this same DTH.
I hope that makes sense - and do I need to have seperate DTH copies for each fan? I didn’t think so but trying to figure out the issue?