Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite BulbDevice and rework set_multiple_values() #525

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
8 changes: 8 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# RELEASE NOTES

## v1.15.2 - Caching and BulbDevice updates

* When a persistent connection is open, the new function `d.cached_status()` will return a cached version of the device status.
* When called as `d.cached_status(nowait=False)` (the default) a `d.status()` call will be made if no cached status is available.
* When called as `d.cached_status(nowait=True)` then `None` will be returned immediately if no cached status is available.
* BulbDevice now uses the cached status (when available) to minimize the number of DPs sent when changing color. Call `d.cache_clear()` before changing color to force it to send all DPs.
* New device argument `max_simultaneous_dps` added to limit the number of simultaneous DP updates sent by `d.set_multiple_values()`. Some bulbs cannot handle multiple DPs set in a single command and require `max_simultaneous_dps=1`. (#504)

## v1.15.1 - Scanner Fixes

* Fix scanner broadcast attempting to bind to the wrong IP address, introduced in v1.15.0
Expand Down
Loading
Loading