Repository navigation
Add interface_description string to UsbDeviceDescriptor - #1977
J. Nick Koston (bdraco) merged 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1977 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 30 30
Lines 5205 5206 +1
=========================================
+ Hits 5205 5206 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
PR Review — Add
|
ESPHome Bot (esphbot)
left a comment
There was a problem hiding this comment.
Tip
No blocking issues found — ready to merge.
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Descriptor field and model conversion aioesphomeapi/api.proto, aioesphomeapi/model.py, tests/test_model.py |
UsbDeviceDescriptor adds an interface_description field to the protobuf and Python model. The conversion test checks the value "Zigbee". |
Priority:
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Feature
Possibly related PRs
- esphome/aioesphomeapi#1891: Introduces
UsbDeviceDescriptorand its fields in the serial proxy identity protocol.
Suggested reviewers: bdraco
Merge Risk: 
Minimal · up to 7dd30
-
The interface description is consistently represented across the protocol and Python model. No actionable merge-blocking risk was identified; merge after normal checks pass.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 2 files. (1 skipped: 1 unsupported.)
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
What does this implement/fix?
Adds the
interface_descriptionstring toUsbDeviceDescriptor.Types of changes
Related issue or feature (if applicable):
Pull request in esphome (if applicable):
iInterfacefor connected interfaces esphome#21781Checklist:
tests/folder).