mirror of
https://github.com/esphome/esphome.git
synced 2026-06-24 13:09:12 +00:00
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>
11 lines
341 B
YAML
11 lines
341 B
YAML
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;"
|