Possible correction to homebridge-broadlink-rm/accessories/fan.js 
Newb here. I had a problem with the fan accessory doing some strange ux in iOS of a temperature setting and heating and cooling/auto as if the fan were a thermostat and rendered my fan non-functional as I had it configured in json. I poked around the internet and apple's documentation on fan vs fanv2 and it led me to examine the fan.js file....I noticed that on line 4 it is shown as:   

        serviceType () { return Service.Thermostat }

I dove into my raspi's folder:
      /usr/lib/node_modules/homebridge-broadlink-rm/accessories/Fan.js

and nano'd the service from "Thermostat" to "Fanv2" 

        serviceType () { return Service.Fanv2 }

and restarted homebridge. In iOS this brought back the old speed slider and the oscillation icon that I was used to previously before I upgraded and had found this problem and my fan became functional again. I don't know if any one else was having this issue, if I'm grasping the problem correctly, or if there was some way of configuring my fan as a thermostat that would have taken advantage of a temperature reading somehow to use with automations...but I thought I would post this in case it was an error or might help someone else.  I really appreciate the work that went into these plug ins. I can kinda decipher and troubleshoot some things like this, but I'm nowhere near being able to build these myself, thanks for all you do!
