From a46c3052a392c016b375f57cd0e8752c5460d3ae Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 8 Oct 2025 12:31:25 -1000 Subject: [PATCH] tweak --- tests/components/gt911/common.yaml | 6 +++--- tests/components/gt911/test.esp32-ard.yaml | 1 + tests/components/gt911/test.esp32-c3-ard.yaml | 5 +++++ tests/components/gt911/test.esp32-c3-idf.yaml | 5 +++++ tests/components/gt911/test.esp32-idf.yaml | 5 +++++ tests/components/gt911/test.esp8266-ard.yaml | 5 +++++ tests/components/gt911/test.rp2040-ard.yaml | 5 +++++ 7 files changed, 29 insertions(+), 3 deletions(-) diff --git a/tests/components/gt911/common.yaml b/tests/components/gt911/common.yaml index ee150a85bd..5f7578091e 100644 --- a/tests/components/gt911/common.yaml +++ b/tests/components/gt911/common.yaml @@ -2,7 +2,7 @@ display: - platform: ssd1306_i2c id: ssd1306_display model: SSD1306_128X64 - reset_pin: 10 + reset_pin: ${display_reset_pin} pages: - id: page1 lambda: |- @@ -11,8 +11,8 @@ display: touchscreen: - platform: gt911 display: ssd1306_display - interrupt_pin: 20 - reset_pin: 21 + interrupt_pin: ${interrupt_pin} + reset_pin: ${reset_pin} binary_sensor: - platform: gt911 diff --git a/tests/components/gt911/test.esp32-ard.yaml b/tests/components/gt911/test.esp32-ard.yaml index 90e7894e85..02860fd190 100644 --- a/tests/components/gt911/test.esp32-ard.yaml +++ b/tests/components/gt911/test.esp32-ard.yaml @@ -1,4 +1,5 @@ substitutions: + display_reset_pin: "10" interrupt_pin: "15" reset_pin: "25" diff --git a/tests/components/gt911/test.esp32-c3-ard.yaml b/tests/components/gt911/test.esp32-c3-ard.yaml index 02a6d29e57..f4646b1315 100644 --- a/tests/components/gt911/test.esp32-c3-ard.yaml +++ b/tests/components/gt911/test.esp32-c3-ard.yaml @@ -1,3 +1,8 @@ +substitutions: + display_reset_pin: "18" + interrupt_pin: "20" + reset_pin: "21" + packages: i2c: !include ../../test_build_components/common/i2c/esp32-c3-ard.yaml diff --git a/tests/components/gt911/test.esp32-c3-idf.yaml b/tests/components/gt911/test.esp32-c3-idf.yaml index 9990d96d29..5e15963b7e 100644 --- a/tests/components/gt911/test.esp32-c3-idf.yaml +++ b/tests/components/gt911/test.esp32-c3-idf.yaml @@ -1,3 +1,8 @@ +substitutions: + display_reset_pin: "18" + interrupt_pin: "20" + reset_pin: "21" + packages: i2c: !include ../../test_build_components/common/i2c/esp32-c3-idf.yaml diff --git a/tests/components/gt911/test.esp32-idf.yaml b/tests/components/gt911/test.esp32-idf.yaml index b47e39c389..3bce86d9a3 100644 --- a/tests/components/gt911/test.esp32-idf.yaml +++ b/tests/components/gt911/test.esp32-idf.yaml @@ -1,3 +1,8 @@ +substitutions: + display_reset_pin: "10" + interrupt_pin: "20" + reset_pin: "21" + packages: i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml diff --git a/tests/components/gt911/test.esp8266-ard.yaml b/tests/components/gt911/test.esp8266-ard.yaml index 4a98b9388a..c3bc159b5b 100644 --- a/tests/components/gt911/test.esp8266-ard.yaml +++ b/tests/components/gt911/test.esp8266-ard.yaml @@ -1,3 +1,8 @@ +substitutions: + display_reset_pin: "10" + interrupt_pin: "12" + reset_pin: "13" + packages: i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml diff --git a/tests/components/gt911/test.rp2040-ard.yaml b/tests/components/gt911/test.rp2040-ard.yaml index 319a7c71a6..0c7f0bc504 100644 --- a/tests/components/gt911/test.rp2040-ard.yaml +++ b/tests/components/gt911/test.rp2040-ard.yaml @@ -1,3 +1,8 @@ +substitutions: + display_reset_pin: "10" + interrupt_pin: "20" + reset_pin: "21" + packages: i2c: !include ../../test_build_components/common/i2c/rp2040-ard.yaml