Advanced settings with granular package selection

Resolves #86
This commit is contained in:
Edward Firmo
2025-01-05 12:40:52 +01:00
parent 5988681132
commit e47726dc47
5 changed files with 396 additions and 332 deletions

View File

@@ -17,35 +17,4 @@ packages:
standard_hw_vibration: !include TX-Ultimate-Easy-ESPHome_standard_hw_vibration.yaml
standard_media_player: !include TX-Ultimate-Easy-ESPHome_standard_media_player.yaml
# yamllint enable rule:colons
button:
- id: bt_restart
name: Restart
internal: false
platform: restart
esphome:
platformio_options:
build_flags:
- -D TX_ULTIMATE_EASY_STANDARD
script:
- id: !extend dump_config_list_packages
then:
- script.wait: dump_config
- lambda: |-
// Check for requirements
#if !defined(TX_ULTIMATE_EASY_CORE)
#error "The package TX-Ultimate-Easy-ESPHome_core.yaml is required."
#endif
// Identify itself
ESP_LOGCONFIG(ESPHOME_PROJECT_NAME, " - Standard");
- id: !extend dump_config_versions
then:
- lambda: |-
// Version information
ESP_LOGCONFIG("standard", "ESPHome builder: " ESPHOME_VERSION);
ESP_LOGCONFIG("standard", "ESPHome build timestamp: %s", App.get_compilation_time().c_str());
...