HA doesn’t use the Dev branch of OZW. You’ll either need to convince HA to cherry-pick this particular fix to their OZW fork (if it can apply cleanly), or cherry-pick and build it yourself and use your own build with HA. The fix you need is actually much simpler than what was merged, all you need is for backwards compatibility with V3 and earlier, which means fixing the code that checks for version == 3 instead of >= 3 (the code you identified plus another line).
As a temporary workaround, you should probably be able to copy and paste the Dimming Duration Value posted here into your own zwcfg*.xml. Downside is that if OZW decides to re-write your cache file it might be lost.
Thanks for your reply @freshcoast, pretty much confirms what I’ve been thinking. Unfortunately I’m pretty unfamiliar with compiling and don’t even know where to start with that.
I did actually try copying and pasting the “Dimming Duration” line into my own zwcfg_xxxxxxxx.xml file, but after restarting HA it disappeared.
That did it! And transition is working! After copying and pasting that line I now have supported_features: 33 and was successfully able to transition.
Thanks for both you guys help!
Going to keep playing with this and see if maybe I can just update the devices xml file to include this as an option for COMMAND_CLASS_SWITCH_MULTILEVEL without having to compile.
Maybe something like this will work (with the correct value for Dimming Duration of course)? Not sure if that only overrides an existing Value, or forces the Value to be created…
Yeah that’s what I was going to try. I’m using hass.io though, and it looks like there is no config folder for OZW? I guess there is no way to edit the device config files and it just has to be done manually the way I did it after each device is added.
In hass.io you should be able to download the XML config files somewhere (/config ?) edit them and then update your z-wave config to use those files instead, using the config_path setting.
Yes that worked perfectly. Thanks so very much for your help!
So, to recap for any future visitors, here’s a rundown of what I did to get transitions working on my HomeSeer HS-WD200+ dimmer switch (should also work on any dimmers that have COMMAND_CLASS_SWITCH_MULTILEVEL v4, e.g. the HS-WD100+, GE/Jasco 14294, etc):
Since I’m on hass.io, I needed to download a copy of the OZW config folder HERE and put it somewhere on the rPi (I put it at “/config/OZW/config”). If you’re not on hass.io you should already have this folder somewhere I believe.
Edit my configuration.yaml file to include this under my zwave config:
config_path: /config/OZW/config
Edit the file “/config/OZW/config/homeseer/hs-wd200plus.xml” to include this: