Add Bluetooth Proxy firmware switching from HA#90
Merged
Conversation
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
10 tasks
bharvey88
force-pushed
the
ble-proxy-select
branch
from
July 8, 2026 16:11
da9443c to
e8283b3
Compare
10 tasks
Second half of the AIR-1 #107 split: lets users swap between the standard and Bluetooth-proxy images from HA instead of reflashing over USB or editing YAML. - Bluetooth Proxy select (Disabled/Enabled) joins Firmware Channel in composing the OTA manifest URL via apply_ota_source. - On boot each image publishes its real identity into the select (ble_firmware substitution), so a failed or abandoned switch snaps back to the truth. - Same-version variant switches install via the existing Firmware Update force button (merged in #89), which already frees heap by disabling BLE during the download. No workflow changes: build-beta.yml and Pages already publish both variants and their manifests. Version: 26.7.8.5 🤖 Generated with [Claude Code](https://claude.com/claude-code)
bharvey88
force-pushed
the
ble-proxy-select
branch
from
July 8, 2026 17:02
e8283b3 to
3f5d351
Compare
This was referenced Jul 9, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Version: 26.7.8.5
What does this implement/fix?
The second half of the ApolloAutomation/AIR-1#107 split: Bluetooth Proxy switching from HA. Users can turn an MSR-1 into a Bluetooth proxy (and back) with a dropdown instead of a USB reflash or YAML editing.
apply_ota_source(one-line change: the variant now comes from the select instead of the build-time substitution).ble_firmwaresubstitution), so a failed or abandoned switch snaps back to reality on reboot.No workflow changes - beta and Pages already publish both variants and their manifests, so this is one file, Core.yaml only.
To test on hardware: flash the standard image from the rolling
betarelease, flip Bluetooth Proxy to Enabled, press Firmware Update - the device should reinstall as the BLE image and the select should still read Enabled after reboot. Flip back to test the reverse path. Abandon a switch (toggle without pressing the button, then reboot) to see the truth-sync snap the select back.Both selects config-validated on all three variants (ESPHome 2026.6.4). Not yet tested on hardware.
Types of changes
Checklist / Checklijst:
If user-visible functionality or configuration variables are added/modified:
🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Bug Fixes