plasticrake / homebridge-tplink-smarthome

TP-Link Smarthome Plugin for Homebridge
MIT License
470 stars 69 forks source link

fix(Plug): correctly handle switches #329

Closed andrewjbates closed 8 months ago

andrewjbates commented 9 months ago

Fixes #322

plasticrake commented 8 months ago

Thank you! I'll take your word for it that this fixes it as I don't have these devices to test.

TinyMito commented 8 months ago

I can confirm this is fixed in 8.0.2 - I do not see any duplicated switches anymore. Thank you very much!

ChrisJohns-me commented 8 months ago

Also confirming that switches are not duplicate anymore. Trying to see any other unintended side-effects, but after a quick glance, I do not see any. 👍

andrewjbates commented 8 months ago

I've been using this since an hour or two before I submitted the PR and haven't found any side effects. The entire plugin also seems more stable on 8.x, thanks for your hard work!