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.