Driver request for Fan switches (VZM35)

Hey all. I’ve been noticing a lot of problems controlling my VZM35 fan switches from HomeKit (either through Hubitat native or the Homebridge integration) because the driver supports intermediate speeds that the switches do not.

Basically, the switches report they support on, off, low, medium, high. But the driver supports medium-low, medium-high as well (you can see them in the set speed dropdown)

This is having the effect that the low, medium, and high numeric ranges are split too small, and a lot of commands that are being routed to the device itself are causing ping-ponging between the settings.

I’ve logged some threads about this on the Hubitat forum and on GitHub against the Homebridge-v2 plugin, but now I’m wondering if the problem is actually the device driver itself and I’m looking at it from too high a level.

Anyone have any ideas on this?

To follow up with some details - the switch itself is Off at 0, Low from 1-33, Medium from 34-66, and High from 67-100. But sometimes a 3-position slider will send a value slightly outside those ranges, it will fall into either low-medium or medium-high and get rounded off into some other speed incorrectly.