Deduplicate btproxy config
This commit is contained in:
@@ -16,8 +16,6 @@ packages:
|
||||
|
||||
# Also act as a BT proxy due to convenient location.
|
||||
btproxy: !include templates/btproxy.yaml
|
||||
# Allow HA to use our proxy.
|
||||
api: !include templates/api.yaml
|
||||
|
||||
external_components:
|
||||
# Path is relative to the main YAML file, not this device_base template!
|
||||
|
||||
@@ -14,7 +14,4 @@ mqtt:
|
||||
|
||||
packages:
|
||||
device_base: !include templates/esp32-poe.yaml
|
||||
|
||||
btproxy: !include templates/btproxy.yaml
|
||||
# Allow HA to use our proxy.
|
||||
api: !include templates/api.yaml
|
||||
|
||||
@@ -5,6 +5,10 @@ esp32:
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
packages:
|
||||
# Allow HomeAssistant to use the proxy.
|
||||
api: !include api.yaml
|
||||
|
||||
globals:
|
||||
- id: ble_scans
|
||||
type: int
|
||||
|
||||
Reference in New Issue
Block a user