howanghk / homebridge-ewelink

Homebridge plugin to control Sonoff relays with OEM firmware
MIT License
81 stars 46 forks source link

iFan Support #57

Closed bassrock closed 4 years ago

bassrock commented 4 years ago

This pr adds in iFanV2 support. The fans show up as a fully supported Homekit fan. I chose to make sure that fans are auto-imported so that end-users do not need to do much.

howanghk commented 4 years ago

Hi @bassrock, thanks for contributing! As I don't have an iFan so I cannot verify if this is working. I have take a look at the code and I guess it should be fine. I am merging this now, thanks!