-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Bump pytibber to 0.31.6 #147703
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
Bump pytibber to 0.31.6 #147703
Conversation
Signed-off-by: Daniel Hjelseth Høyer <[email protected]>
Signed-off-by: Daniel Hjelseth Høyer <[email protected]>
Signed-off-by: Daniel Hjelseth Høyer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR upgrades the Tibber library from version 0.31.2 to 0.31.6 to keep the integration aligned with the upstream dependency. Key updates include:
- Bumping the Tibber version in both test and production requirements.
- Revising exception handling in the Tibber sensor to catch the new tibber.RetryableHttpExceptionError.
- Updating the manifest file to reflect the new dependency version.
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
File | Description |
---|---|
requirements_test_all.txt | Updated pyTibber version to 0.31.6 |
requirements_all.txt | Updated pyTibber version to 0.31.6 |
homeassistant/components/tibber/sensor.py | Extended exception handling for new tibber error |
homeassistant/components/tibber/manifest.json | Updated requirements to use pyTibber==0.31.6 |
Comments suppressed due to low confidence (2)
homeassistant/components/tibber/sensor.py:283
- Confirm that tibber.RetryableHttpExceptionError is the correct exception to catch for retryable HTTP errors according to the updated pyTibber documentation.
except (tibber.RetryableHttpExceptionError, aiohttp.ClientError) as err:
homeassistant/components/tibber/sensor.py:280
- [nitpick] Ensure that test cases cover the scenario where tibber.RetryableHttpExceptionError is raised so that PlatformNotReady is correctly triggered in these cases.
except TimeoutError as err:
Breaking change
Proposed change
Upgrade Tibber library
Danielhiversen/pyTibber@0.31.2...0.31.6
Type of change
Additional information
Checklist
ruff format homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
.To help with the load of incoming pull requests: