This kind of solves #9 Replace TX-Ultimate-Easy-ESPHome_addon_ble_proxy.yaml with compilation error to force migration to direct bluetooth_proxy configuration. BREAKING CHANGE: Configurations including this package will fail to compile. Users must remove the package reference and add bluetooth_proxy directly to their YAML. Before: packages: addon_bluetooth_proxy: !include TX-Ultimate-Easy-ESPHome_addon_ble_proxy.yaml After: bluetooth_proxy:
24 lines
1.6 KiB
YAML
24 lines
1.6 KiB
YAML
####################################################################################################
|
|
##### TX Ultimate Easy for ESPHome #####
|
|
##### Repository: https://github.com/edwardtfn/TX-Ultimate-Easy #####
|
|
####################################################################################################
|
|
##### Purpose: ESPHome Core - Add-on - BLE Proxy (REMOVED) #####
|
|
####################################################################################################
|
|
##### Author: edwardtfn - https://github.com/edwardtfn - https://buymeacoffee.com/edwardfirmo #####
|
|
####################################################################################################
|
|
##### REMOVAL NOTICE: #####
|
|
##### This package has been removed. Please update your configuration. #####
|
|
##### Add BLE proxy functionality directly in your YAML configuration instead: #####
|
|
##### bluetooth_proxy: #####
|
|
####################################################################################################
|
|
---
|
|
# Trigger the error at compile time
|
|
script:
|
|
- id: force_compilation_error
|
|
then:
|
|
- lambda: |-
|
|
#error "The package TX-Ultimate-Easy-ESPHome_addon_ble_proxy.yaml has been removed." \
|
|
"Please remove this package from your configuration and add" \
|
|
"'bluetooth_proxy:' directly to your YAML instead."
|
|
...
|