1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 19:02:18 +01:00

[CI] Consolidate some tests (K, L) (#8201)

This commit is contained in:
Keith Burzinski
2025-02-04 17:05:53 -06:00
committed by GitHub
parent f8fae676b1
commit 4273449003
70 changed files with 895 additions and 3284 deletions

View File

@@ -0,0 +1,24 @@
i2c:
- id: i2c_lilygo_t5_47
scl: ${scl_pin}
sda: ${sda_pin}
display:
- platform: ssd1306_i2c
id: ssd1306_display
model: SSD1306_128X64
reset_pin: ${reset_pin}
pages:
- id: page1
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
touchscreen:
- platform: lilygo_t5_47
id: lilygo_touchscreen
interrupt_pin: ${interrupt_pin}
display: ssd1306_display
on_touch:
- logger.log:
format: Touch at (%d, %d)
args: [touch.x, touch.y]

View File

@@ -1,24 +1,7 @@
i2c:
- id: i2c_lilygo_t5_47
scl: 16
sda: 17
substitutions:
scl_pin: GPIO13
sda_pin: GPIO14
interrupt_pin: GPIO15
reset_pin: GPIO16
display:
- platform: ssd1306_i2c
id: ssd1306_display
model: SSD1306_128X64
reset_pin: 13
pages:
- id: page1
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
touchscreen:
- platform: lilygo_t5_47
id: lilygo_touchscreen
interrupt_pin: 14
display: ssd1306_display
on_touch:
- logger.log:
format: Touch at (%d, %d)
args: [touch.x, touch.y]
<<: !include common.yaml

View File

@@ -1,24 +1,7 @@
i2c:
- id: i2c_lilygo_t5_47
scl: 5
sda: 4
substitutions:
scl_pin: GPIO0
sda_pin: GPIO1
interrupt_pin: GPIO2
reset_pin: GPIO3
display:
- platform: ssd1306_i2c
id: ssd1306_display
model: SSD1306_128X64
reset_pin: 3
pages:
- id: page1
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
touchscreen:
- platform: lilygo_t5_47
id: lilygo_touchscreen
interrupt_pin: 6
display: ssd1306_display
on_touch:
- logger.log:
format: Touch at (%d, %d)
args: [touch.x, touch.y]
<<: !include common.yaml

View File

@@ -1,24 +1,7 @@
i2c:
- id: i2c_lilygo_t5_47
scl: 5
sda: 4
substitutions:
scl_pin: GPIO0
sda_pin: GPIO1
interrupt_pin: GPIO2
reset_pin: GPIO3
display:
- platform: ssd1306_i2c
id: ssd1306_display
model: SSD1306_128X64
reset_pin: 3
pages:
- id: page1
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
touchscreen:
- platform: lilygo_t5_47
id: lilygo_touchscreen
interrupt_pin: 6
display: ssd1306_display
on_touch:
- logger.log:
format: Touch at (%d, %d)
args: [touch.x, touch.y]
<<: !include common.yaml

View File

@@ -1,24 +1,7 @@
i2c:
- id: i2c_lilygo_t5_47
scl: 16
sda: 17
substitutions:
scl_pin: GPIO13
sda_pin: GPIO14
interrupt_pin: GPIO15
reset_pin: GPIO16
display:
- platform: ssd1306_i2c
id: ssd1306_display
model: SSD1306_128X64
reset_pin: 13
pages:
- id: page1
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
touchscreen:
- platform: lilygo_t5_47
id: lilygo_touchscreen
interrupt_pin: 14
display: ssd1306_display
on_touch:
- logger.log:
format: Touch at (%d, %d)
args: [touch.x, touch.y]
<<: !include common.yaml

View File

@@ -1,24 +1,7 @@
i2c:
- id: i2c_lilygo_t5_47
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
interrupt_pin: GPIO12
reset_pin: GPIO16
display:
- platform: ssd1306_i2c
id: ssd1306_display
model: SSD1306_128X64
reset_pin: 3
pages:
- id: page1
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
touchscreen:
- platform: lilygo_t5_47
id: lilygo_touchscreen
interrupt_pin: 12
display: ssd1306_display
on_touch:
- logger.log:
format: Touch at (%d, %d)
args: [touch.x, touch.y]
<<: !include common.yaml

View File

@@ -1,24 +1,7 @@
i2c:
- id: i2c_lilygo_t5_47
scl: 5
sda: 4
substitutions:
scl_pin: GPIO0
sda_pin: GPIO1
interrupt_pin: GPIO2
reset_pin: GPIO3
display:
- platform: ssd1306_i2c
id: ssd1306_display
model: SSD1306_128X64
reset_pin: 3
pages:
- id: page1
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
touchscreen:
- platform: lilygo_t5_47
id: lilygo_touchscreen
interrupt_pin: 6
display: ssd1306_display
on_touch:
- logger.log:
format: Touch at (%d, %d)
args: [touch.x, touch.y]
<<: !include common.yaml