sbidy / pywizlight

A python connector for WiZ devices
MIT License
463 stars 79 forks source link

Return cached values from getter methods #80

Closed emichael closed 3 years ago

emichael commented 3 years ago

Previously, get_bulbtype would only return a non-None value the first time, and getExtendedWhiteRange would return None every other invocation.

sbidy commented 3 years ago

@all-contributors please add @emichael code

allcontributors[bot] commented 3 years ago

@sbidy

I've put up a pull request to add @emichael! :tada:

zachberger commented 3 years ago

@sbidy is anything blocking the merge of this? This is blocking home-assistant/core#44779

sbidy commented 3 years ago

Fixed #86