I wrote my first smartapp for doing 3-speed ceiling fan control from temperature. It was done for a custom device handler for the GE Fan Speed controller which is Z-wave.
There is a new zigbee device handler being developed by @ranga for a new Hampton Bay controller and it uses a different technique for changing speeds of Speed1, Speed2, Speed3, Speed4 compared to the GE Z-wave device handler was something more in line to a dimmer with 3 set points for speed control; Hi, Med, Low.
Anybody with ideas on how I might change the code so that regardless of which DHT I picked it would work?
Or maybe it makes more sense for me to modify the DHT of zigbee to make it more compatible with the existing zwave?
I am trying to avoid having two separate smartapps if possible because to me seems more likely to cause confusion, right?