Repository navigation
Sync the InfraredRFReceiveEvent timings span option from esphome - #1999
Conversation
|
ESPHome Bot (@esphbot) review |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1999 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 30 30
Lines 5281 5281
=========================================
Hits 5281 5281 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
PR Review — Sync the InfraredRFReceiveEvent timings span option from esphomeApprove. This is a small, correct proto sync, and the regenerated bindings are consistent with it. What it does well:
No issues found. Checklist
Automated review by Kōan (Claude) |
ESPHome Bot (esphbot)
left a comment
There was a problem hiding this comment.
Tip
No blocking issues found — ready to merge.
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the protocol definition and generated-binding update.
No open issues 🎉
What changed in this PR
Synchronizes the Python client’s protocol definition with esphome/esphome#22269, preserving the existing field number, type, and wire encoding.
Changes:
- Changes the C++ container option for
InfraredRFReceiveEvent.timingsfromstd::vector<int32_t>tostd::span<const int32_t>. - Updates generated Python descriptor metadata and offsets to reflect the option change.
| File | Description |
|---|---|
aioesphomeapi/api.proto |
Mirrors the firmware’s span container option for received timings. |
aioesphomeapi/api_pb2.py |
Updates generated bindings to match the protocol definition. |
Review effort: Balanced
What does this implement/fix?
Syncs
api.protowith esphome/esphome#22269, which generatesInfraredRFReceiveEvent.timingsas astd::span<const int32_t>on the device instead of astd::vector<int32_t>.container_pointer_no_templateoption changes; the field, its number and the bytes on the wire are unchanged.api_pb2.pyis regenerated with protoc 30.0, matching the checked-in header.Types of changes
Related issue or feature (if applicable):
Pull request in esphome (if applicable):
Checklist:
tests/folder).