upsert / lutron-caseta-pro

Custom Home Assistant Component for Lutron Caseta Smart Bridge PRO / RA2 Select
Apache License 2.0
184 stars 38 forks source link

Fix infinite loop on clean disconnect. #51

Closed bdraco closed 4 years ago

bdraco commented 4 years ago

Should solve https://github.com/upsert/lutron-caseta-pro/issues/50

bdraco commented 4 years ago

Thanks for tracking this down! It explains some lockups I've had with no logs and no other clues. I had assumed it was related to upgrades but it could have been Lutron running maintenance on the bridge.

There is another write() on line 251. Should that be drained too?

Yes. I'll push a change shortly

cajuncoding commented 4 years ago

Looks like I definitely need to update my version (which is pretty old now I imagine...).