20 lines
497 B
YAML
20 lines
497 B
YAML
---
|
|
esp32_ble_tracker:
|
|
id: ble_tracker
|
|
scan_parameters:
|
|
continuous: false
|
|
|
|
bluetooth_proxy:
|
|
active: true
|
|
|
|
|
|
esphome:
|
|
on_boot: #this is to avoid slow startup time because of BT and WiFi "interactions?" , check https://github.com/esphome/issues/issues/2941#issuecomment-1331851692
|
|
priority: 250
|
|
then:
|
|
- wait_until:
|
|
condition:
|
|
wifi.connected:
|
|
- lambda: >
|
|
id(ble_tracker).set_scan_continuous(true);
|
|
id(ble_tracker).start_scan(); |