stijnstijn / pyaranet4

A cross-platform Python interface for the Aranet4 CO₂ meter
MIT License
47 stars 8 forks source link

Handle circumstance during discovery where device.name is None #2

Closed jeffmo closed 1 year ago

jeffmo commented 1 year ago

While running discovery I noticed that bleak can report devices whose device.name is None, which trips up this bit of the _discover() logic.

jeffmo commented 1 year ago

Aha...I think @bede 's PR includes a commit which fixes this!

I'll leave this PR open since the other includes several other changes (not sure if it's easier to land this one more quickly?), but if not I'm happy to close this out.

stijnstijn commented 1 year ago

Thanks!