Closed bouwew closed 4 months ago
The recent updates primarily address timeout configurations across the plugwise
package. A new constant DEFAULT_LEGACY_TIMEOUT
was introduced, and timeout values were adjusted for legacy and non-legacy devices. Additionally, the version in pyproject.toml
was updated from "0.38.1" to "0.38.2". These changes ensure better handling of connection timeouts, especially for legacy devices, improving overall stability.
File | Change Summary |
---|---|
plugwise/__init__.py |
Updated default timeout values and adjusted timeout parameters in methods. |
plugwise/constants.py |
Modified DEFAULT_TIMEOUT and added DEFAULT_LEGACY_TIMEOUT . |
plugwise/legacy/smile.py |
Added timeout parameter to the Smile class constructor. |
plugwise/smile.py |
Removed DEFAULT_TIMEOUT and added timeout parameter to the constructor. |
tests/test_init.py |
Added assertions for _timeout attribute in device_test function. |
CHANGELOG.md |
Documented the reduction of connection timeout for devices post-initial connection. |
pyproject.toml (existing) |
Updated version from "0.38.1" to "0.38.2a0". |
pyproject.toml (new) |
Updated version from "0.38.1" to "0.38.2". |
In the realm of code so bright, Timeouts adjusted, just right. Legacy devices now breathe with ease, As connections flow like a breeze. Version numbers climb anew, With changes that enhance the view. Plugwise dances in the light, Stability in every byte! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
dba5d57
) to head (773b296
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
pyproject.toml
to0.38.2
.Tests