[zephyr_ble_server] add support for on_numeric_comparison_request (#14400)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: J. Nick Koston <nick@home-assistant.io>
This commit is contained in:
tomaszduda23
2026-04-16 09:43:03 -04:00
committed by GitHub
co-authored by Copilot J. Nick Koston J. Nick Koston
parent 4c758fa1da
commit 04a58159d0
4 changed files with 341 additions and 51 deletions
@@ -0,0 +1,10 @@
zephyr_ble_server:
on_numeric_comparison_request:
then:
- logger.log:
format: "Compare this passkey with the one on your BLE device: %06d"
args: [passkey]
- ble_server.numeric_comparison_reply:
accept: True
- ble_server.numeric_comparison_reply:
accept: !lambda "return true;"