tuya-homebridge icon indicating copy to clipboard operation
tuya-homebridge copied to clipboard

Update fanv2_accessory.js

Open onichan88 opened this issue 2 years ago • 2 comments

My ceiling fan has the var named 'switch_led', but I left also the 'light' value for other people. It works, I forked this in my repo and with this change and adding case 'fsd' in the index.js, it worked.

onichan88 avatar Jun 14 '22 14:06 onichan88

@onichan88 added your fix to the fork of this project that I'm thinking of starting maintaining: https://github.com/dipakparmar/tuya-homebridge/commit/039b0af3a17251f547f6ab735e15bcf4e2cbf210

I will publish the new version to npm in a day or two after merging other PRS!

Thanks for your contribution! 😄

dipakparmar avatar Jul 26 '22 03:07 dipakparmar

Consider using an array for easier reading

aljorhythm avatar Jul 26 '22 04:07 aljorhythm