Bump python-duco-client to 0.4.1#169991
Merged
zweckj merged 1 commit intoMay 7, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Bumps the Duco integration’s python-duco-client dependency to 0.4.1 to prevent crashes when devices report the WI network type and to handle future unknown network types safely.
Changes:
- Update
homeassistant.components.ducoto requirepython-duco-client==0.4.1. - Regenerate/update derived requirement pin files to reflect the new version.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
homeassistant/components/duco/manifest.json |
Bumps the integration requirement to python-duco-client==0.4.1. |
requirements_all.txt |
Updates the global pinned dependency list to python-duco-client==0.4.1. |
requirements_test_all.txt |
Updates the test pinned dependency list to python-duco-client==0.4.1. |
zweckj
approved these changes
May 7, 2026
Member
zweckj
left a comment
There was a problem hiding this comment.
for the future please include the tag diff also in the PR description, thanks!
Contributor
Author
Thanks for the merge. I did include a diff in the PR description, though perhaps a different diff was expected? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed change
Bump
python-duco-clientfrom0.4.0to0.4.1.The new release adds
WI(Wi-Fi) to theNetworkTypeenum and falls back toNetworkType.UNKNOWNfor any future unrecognised network type values. Without this fix, Duco installations with Wi-Fi-connected room nodes crash on every coordinator update withValueError: 'WI' is not a valid NetworkType, making the entire integration unavailable.Changelog: https://github.com/ronaldvdmeer/python-duco-client/releases/tag/v0.4.1
Diff: ronaldvdmeer/python-duco-client@v0.4.0...v0.4.1
Note
This PR fixes a crash affecting existing users. Please assign it to the first upcoming bugfix milestone.
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.