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

[CI] Consolidate some tests (Q, R) (#8205)

This commit is contained in:
Keith Burzinski
2025-02-04 20:37:22 -06:00
committed by GitHub
parent cecce0f3cb
commit bf6874b52e
109 changed files with 795 additions and 1719 deletions

View File

@@ -0,0 +1,24 @@
spi:
- id: spi_main_lcd
clk_pin: ${clk_pin}
mosi_pin: ${mosi_pin}
display:
- platform: ili9xxx
id: main_lcd
model: ili9342
cs_pin: ${cs_pin}
dc_pin: ${dc_pin}
reset_pin: ${reset_pin}
invert_colors: false
lambda: |-
// Draw a QR code in the center of the screen
auto scale = 2;
auto size = id(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);
qr_code:
- id: homepage_qr
value: https://esphome.io/index.html