-
-
Notifications
You must be signed in to change notification settings - Fork 36.2k
Add firmware flashing debug loggers to hardware integrations #156480
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
Add firmware flashing debug loggers to hardware integrations #156480
Conversation
|
Hey there @home-assistant/core, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
|
Hey there @home-assistant/core, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
|
Hey there @home-assistant/core, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
TheJulianJES
left a comment
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.
Rest looks good
homeassistant/components/homeassistant_connect_zbt2/manifest.json
Outdated
Show resolved
Hide resolved
homeassistant/components/homeassistant_sky_connect/manifest.json
Outdated
Show resolved
Hide resolved
Co-authored-by: TheJulianJES <[email protected]>
Co-authored-by: TheJulianJES <[email protected]>
Co-authored-by: TheJulianJES <[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 adds firmware flashing debug loggers to three Home Assistant hardware integrations to improve diagnostics when firmware flashing operations fail. The loggers enable debug-level logging for the underlying packages that handle Silabs adapter firmware flashing.
- Adds identical logger configuration to three hardware integrations
- Enables logging for firmware flashing packages: bellows, universal_silabs_flasher, zigpy.serial, and serial_asyncio_fast
- Provides better diagnostic context for firmware flashing failures
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| homeassistant/components/homeassistant_yellow/manifest.json | Added loggers array with 4 firmware flashing package names |
| homeassistant/components/homeassistant_sky_connect/manifest.json | Added loggers array with 4 firmware flashing package names |
| homeassistant/components/homeassistant_connect_zbt2/manifest.json | Added loggers array with 4 firmware flashing package names |
Proposed change
The hardware integrations currently use a few different packages when flashing adapter firmware. This PR enables logging for all of them, giving us full context for when firmware flashing fails.
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: