Update dependencies

This commit is contained in:
Edward Firmo
2025-08-05 20:01:32 +02:00
parent c9a85504f1
commit fa2e8f3b62
9 changed files with 29 additions and 27 deletions

View File

@@ -76,7 +76,7 @@ esphome:
version: ${version} version: ${version}
platformio_options: platformio_options:
build_flags: build_flags:
- -D TX_ULTIMATE_EASY_CORE - -D TX_ULTIMATE_EASY_CORE_COMMON
on_boot: on_boot:
- priority: 750 - priority: 750
@@ -95,6 +95,15 @@ esphome:
then: then:
- script.execute: boot_done - script.execute: boot_done
external_components:
- source:
type: git
url: https://github.com/edwardtfn/TX-Ultimate-Easy
ref: v${version}
refresh: 1h
components:
- tx_ultimate_easy
globals: globals:
- id: is_us_model - id: is_us_model
type: bool type: bool
@@ -332,6 +341,9 @@ text_sensor:
} }
return result; return result;
tx_ultimate_easy:
id: tx_ultimate
wifi: wifi:
id: wifi_component id: wifi_component
... ...

View File

@@ -241,8 +241,8 @@ script:
- script.wait: dump_config - script.wait: dump_config
- lambda: |- - lambda: |-
// Check for requirements // Check for requirements
#if !defined(TX_ULTIMATE_EASY_CORE) #if !defined(TX_ULTIMATE_EASY_CORE_COMMON)
#error "The package TX-Ultimate-Easy-ESPHome_core.yaml is required." #error "The package TX-Ultimate-Easy-ESPHome_core_common.yaml is required."
#endif #endif
// Identify itself // Identify itself

View File

@@ -537,8 +537,8 @@ script:
- script.wait: dump_config - script.wait: dump_config
- lambda: |- - lambda: |-
// Check for requirements // Check for requirements
#if !defined(TX_ULTIMATE_EASY_CORE) #if !defined(TX_ULTIMATE_EASY_CORE_COMMON)
#error "The package TX-Ultimate-Easy-ESPHome_core.yaml is required." #error "The package TX-Ultimate-Easy-ESPHome_core_common.yaml is required."
#endif #endif
// Identify itself // Identify itself

View File

@@ -205,15 +205,6 @@ esphome:
build_flags: build_flags:
- -D TX_ULTIMATE_EASY_CORE_HW_TOUCH - -D TX_ULTIMATE_EASY_CORE_HW_TOUCH
external_components:
- source:
type: git
url: https://github.com/edwardtfn/TX-Ultimate-Easy
ref: v${version}
refresh: 1h
components:
- tx_ultimate_easy
number: number:
- id: nr_touch_duration - id: nr_touch_duration
name: Touch event duration name: Touch event duration
@@ -305,8 +296,8 @@ script:
- script.wait: dump_config - script.wait: dump_config
- lambda: |- - lambda: |-
// Check for requirements // Check for requirements
#if !defined(TX_ULTIMATE_EASY_CORE) #if !defined(TX_ULTIMATE_EASY_CORE_COMMON)
#error "The package TX-Ultimate-Easy-ESPHome_core.yaml is required." #error "The package TX-Ultimate-Easy-ESPHome_core_common.yaml is required."
#endif #endif
// Identify itself // Identify itself
@@ -375,7 +366,6 @@ switch:
entity_category: config entity_category: config
tx_ultimate_easy: tx_ultimate_easy:
id: tx_ultimate
uart: uart_touch uart: uart_touch
on_long_touch_release: on_long_touch_release:

View File

@@ -32,8 +32,8 @@ script:
- script.wait: dump_config - script.wait: dump_config
- lambda: |- - lambda: |-
// Check for requirements // Check for requirements
#if !defined(TX_ULTIMATE_EASY_CORE) #if !defined(TX_ULTIMATE_EASY_CORE_COMMON)
#error "The package TX-Ultimate-Easy-ESPHome_core.yaml is required." #error "The package TX-Ultimate-Easy-ESPHome_core_common.yaml is required."
#endif #endif
// Identify itself // Identify itself

View File

@@ -780,8 +780,8 @@ script:
- script.wait: dump_config - script.wait: dump_config
- lambda: |- - lambda: |-
// Check for requirements // Check for requirements
#if !defined(TX_ULTIMATE_EASY_CORE) #if !defined(TX_ULTIMATE_EASY_CORE_COMMON)
#error "The package TX-Ultimate-Easy-ESPHome_core.yaml is required." #error "The package TX-Ultimate-Easy-ESPHome_core_common.yaml is required."
#endif #endif
#if !defined(TX_ULTIMATE_EASY_CORE_HW_LEDS) #if !defined(TX_ULTIMATE_EASY_CORE_HW_LEDS)
#error "The package TX-Ultimate-Easy-ESPHome_core_hw_leds.yaml is required." #error "The package TX-Ultimate-Easy-ESPHome_core_hw_leds.yaml is required."

View File

@@ -78,8 +78,8 @@ script:
- script.wait: dump_config - script.wait: dump_config
- lambda: |- - lambda: |-
// Check for requirements // Check for requirements
#if !defined(TX_ULTIMATE_EASY_CORE) #if !defined(TX_ULTIMATE_EASY_CORE_COMMON)
#error "The package TX-Ultimate-Easy-ESPHome_core.yaml is required." #error "The package TX-Ultimate-Easy-ESPHome_core_common.yaml is required."
#endif #endif
#if !defined(TX_ULTIMATE_EASY_STANDARD_HW_AUDIO) #if !defined(TX_ULTIMATE_EASY_STANDARD_HW_AUDIO)
#error "The package TX-Ultimate-Easy-ESPHome_standard_hw_audio.yaml is required." #error "The package TX-Ultimate-Easy-ESPHome_standard_hw_audio.yaml is required."

View File

@@ -80,8 +80,8 @@ script:
- script.wait: dump_config - script.wait: dump_config
- lambda: |- - lambda: |-
// Check for requirements // Check for requirements
#if !defined(TX_ULTIMATE_EASY_CORE) #if !defined(TX_ULTIMATE_EASY_CORE_COMMON)
#error "The package TX-Ultimate-Easy-ESPHome_core.yaml is required." #error "The package TX-Ultimate-Easy-ESPHome_core_common.yaml is required."
#endif #endif
// Identify itself // Identify itself

View File

@@ -80,8 +80,8 @@ script:
- script.wait: dump_config - script.wait: dump_config
- lambda: |- - lambda: |-
// Check for requirements // Check for requirements
#if !defined(TX_ULTIMATE_EASY_CORE) #if !defined(TX_ULTIMATE_EASY_CORE_COMMON)
#error "The package TX-Ultimate-Easy-ESPHome_core.yaml is required." #error "The package TX-Ultimate-Easy-ESPHome_core_common.yaml is required."
#endif // TX_ULTIMATE_EASY_CORE #endif // TX_ULTIMATE_EASY_CORE
#if !defined(TX_ULTIMATE_EASY_STANDARD_HW_SPEAKER) #if !defined(TX_ULTIMATE_EASY_STANDARD_HW_SPEAKER)
#error "The package TX-Ultimate-Easy-ESPHome_standard_hw_speaker.yaml is required." #error "The package TX-Ultimate-Easy-ESPHome_standard_hw_speaker.yaml is required."