Blue Series VZM35-SN Fan Controller driver is missing the "speed" attribute

…so it doesn’t enumerate properly on Hubitat and probably other hubs too. The “FanControl” capability requires this attribute on Hubitat at least. So I set the attribute to “off” during configure/installed to initialize the state, and had it follow the “switch” attribute (“off” or “on”) when that state was updated. Its working for my single speed fan now. However, the “speed” attribute really needs to be set more precisely to follow supported modes (“off”, “on”, “low”, “medium”, “high”).

edit: looking more closely at the driver today and I can see logic to handle supported modes updating the attribute, so the bug is actually that “speed” isn’t being initialized and it is also not being updated for on/off commands. Pretty sure the changes I made to the driver above fixes everything as far as Hubitat is concerned.

I also forgot to mention that the driver isn’t being automatically selected; hubitat chooses a generic device driver during installation even though the inovelli driver is available.