Bump pypck to 0.9.7#158089
Merged
edenhaus merged 1 commit intoDec 9, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes a bug where LCN sensors would incorrectly become unavailable when receiving variable responses from older LCN modules. The fix ensures that valid variable data is processed even when returned from the status request, rather than only being processed through separate input events.
Key changes:
- Captures the result from
request_status_variable()to process the returned data - Calls
input_received()with the result when data is available - Updates the pypck dependency from 0.9.5 to 0.9.6 to support the fix
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| homeassistant/components/lcn/sensor.py | Modified async_update() to capture and process variable response data directly |
| homeassistant/components/lcn/manifest.json | Updated pypck requirement to version 0.9.6 |
| requirements_all.txt | Updated pypck dependency version |
| requirements_test_all.txt | Updated pypck test dependency version |
77df09c to
ce104c6
Compare
ce104c6 to
b480275
Compare
b480275 to
2487e28
Compare
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
Fixes wrong value responses for old LCN modules which resulted in turning the corresponding sensors to unavailable state.
A dependency upgrade is necessary:
Release notes: https://github.com/alengwenus/pypck/releases
Code changes: https://github.com/alengwenus/pypck/compare/0.9.5..0.9.7
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: