1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

Group component tests to reduce CI time (#11134)

This commit is contained in:
J. Nick Koston
2025-10-11 08:21:45 -10:00
committed by GitHub
parent 6a11700a6b
commit dcf2697a2a
1808 changed files with 8564 additions and 5758 deletions

View File

@@ -1,11 +1,6 @@
spi:
- id: spi_main_lcd
clk_pin: ${clk_pin}
mosi_pin: ${mosi_pin}
display:
- platform: ili9xxx
id: main_lcd
id: qr_code_main_lcd
model: ili9342
cs_pin: ${cs_pin}
dc_pin: ${dc_pin}
@@ -14,11 +9,11 @@ display:
lambda: |-
// Draw a QR code in the center of the screen
auto scale = 2;
auto size = id(homepage_qr).get_size() * scale;
auto size = id(qr_code_homepage_qr).get_size() * scale;
auto x = (it.get_width() / 2) - (size / 2);
auto y = (it.get_height() / 2) - (size / 2);
it.qr_code(x, y, id(homepage_qr), Color(255,255,255), scale);
it.qr_code(x, y, id(qr_code_homepage_qr), Color(255,255,255), scale);
qr_code:
- id: homepage_qr
- id: qr_code_homepage_qr
value: https://esphome.io/index.html