[bluetooth_proxy] Add an advertisement filter hook (#19220)

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
This commit is contained in:
David Coulson
2026-09-13 16:25:27 +00:00
committed by GitHub
co-authored by Claude Opus 5 pre-commit-ci-lite[bot]
parent eea66fc32b
commit 6b08aa60e6
6 changed files with 82 additions and 0 deletions
@@ -0,0 +1,12 @@
# Compile the gated filter path; no external component is in-tree to call
# enable_advertisement_filter(), so the define is forced here.
<<: !include common.yaml
esphome:
build_flags:
- "-DUSE_BLUETOOTH_PROXY_ADVERTISEMENT_FILTER"
esp32_ble_tracker:
bluetooth_proxy:
active: true