Make media player dependent on speaker

This commit is contained in:
Edward Firmo
2025-07-29 09:03:45 +02:00
parent 1bd51f304d
commit 36b28a2475
3 changed files with 7 additions and 4 deletions

View File

@@ -3,5 +3,6 @@ packages:
common_arduino: !include common_ard.yaml common_arduino: !include common_ard.yaml
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml
standard_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard.yaml standard_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard.yaml
addon_bluetooth_proxy: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_addon_ble_proxy.yaml
bluetooth_proxy:
... ...

View File

@@ -4,4 +4,6 @@ packages:
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml
standard_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard.yaml standard_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard.yaml
addon_bluetooth_proxy: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_addon_ble_proxy.yaml addon_bluetooth_proxy: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_addon_ble_proxy.yaml
bluetooth_proxy:
... ...

View File

@@ -12,7 +12,7 @@
#################################################################################################### ####################################################################################################
--- ---
packages: packages:
standard_hw_audio: !include TX-Ultimate-Easy-ESPHome_standard_hw_audio.yaml standard_hw_speaker: !include TX-Ultimate-Easy-ESPHome_standard_hw_speaker.yaml
esphome: esphome:
platformio_options: platformio_options:
@@ -38,8 +38,8 @@ script:
#if !defined(TX_ULTIMATE_EASY_CORE) #if !defined(TX_ULTIMATE_EASY_CORE)
#error "The package TX-Ultimate-Easy-ESPHome_core.yaml is required." #error "The package TX-Ultimate-Easy-ESPHome_core.yaml is required."
#endif #endif
#if !defined(TX_ULTIMATE_EASY_STANDARD_HW_AUDIO) #if !defined(TX_ULTIMATE_EASY_STANDARD_HW_SPEAKER)
#error "The package TX-Ultimate-Easy-ESPHome_standard_hw_audio.yaml is required." #error "The package TX-Ultimate-Easy-ESPHome_standard_hw_speaker.yaml is required."
#endif #endif
// Identify itself // Identify itself