mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-28 10:18:26 +00:00
feat: add ESPHome
This commit is contained in:
@@ -33,14 +33,14 @@ api:
|
||||
on_client_connected:
|
||||
- esp32_ble_tracker.start_scan:
|
||||
continuous: true
|
||||
# Disable BLE tracking when there are no api connections live
|
||||
on_client_disconnected:
|
||||
if:
|
||||
condition:
|
||||
not:
|
||||
api.connected:
|
||||
then:
|
||||
- esp32_ble_tracker.stop_scan:
|
||||
# # Disable BLE tracking when there are no api connections live
|
||||
# on_client_disconnected:
|
||||
# if:
|
||||
# condition:
|
||||
# not:
|
||||
# api.connected:
|
||||
# then:
|
||||
# - esp32_ble_tracker.stop_scan:
|
||||
|
||||
# Optimizations
|
||||
logger:
|
||||
|
||||
@@ -5,9 +5,10 @@ substitutions:
|
||||
|
||||
wifi:
|
||||
domain: .esp.dhcp.internal
|
||||
networks:
|
||||
- ssid: !secret wifi_ssid
|
||||
password: !secret wifi_password
|
||||
ssid: !secret wifi_ssid
|
||||
password: !secret wifi_password
|
||||
enable_btm: true
|
||||
enable_rrm: true
|
||||
|
||||
sensor:
|
||||
- platform: wifi_signal # Reports the WiFi signal strength in dB
|
||||
|
||||
Reference in New Issue
Block a user