mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
Add some components to the new testing framework (A part 2) (#6162)
This commit is contained in:
23
tests/components/animation/test.esp32-c3-idf.yaml
Normal file
23
tests/components/animation/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
spi:
|
||||
- id: spi_main_lcd
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
id: main_lcd
|
||||
model: ili9342
|
||||
cs_pin: 8
|
||||
dc_pin: 9
|
||||
reset_pin: 10
|
||||
|
||||
# Purposely test that `animation:` does auto-load `image:`
|
||||
# Keep the `image:` undefined.
|
||||
# image:
|
||||
|
||||
animation:
|
||||
- id: rgb565_animation
|
||||
file: ../../pnglogo.png
|
||||
type: RGB565
|
||||
use_transparency: no
|
23
tests/components/animation/test.esp32-c3.yaml
Normal file
23
tests/components/animation/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
spi:
|
||||
- id: spi_main_lcd
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
id: main_lcd
|
||||
model: ili9342
|
||||
cs_pin: 8
|
||||
dc_pin: 9
|
||||
reset_pin: 10
|
||||
|
||||
# Purposely test that `animation:` does auto-load `image:`
|
||||
# Keep the `image:` undefined.
|
||||
# image:
|
||||
|
||||
animation:
|
||||
- id: rgb565_animation
|
||||
file: ../../pnglogo.png
|
||||
type: RGB565
|
||||
use_transparency: no
|
23
tests/components/animation/test.esp32-idf.yaml
Normal file
23
tests/components/animation/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
spi:
|
||||
- id: spi_main_lcd
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
id: main_lcd
|
||||
model: ili9342
|
||||
cs_pin: 12
|
||||
dc_pin: 13
|
||||
reset_pin: 21
|
||||
|
||||
# Purposely test that `animation:` does auto-load `image:`
|
||||
# Keep the `image:` undefined.
|
||||
# image:
|
||||
|
||||
animation:
|
||||
- id: rgb565_animation
|
||||
file: ../../pnglogo.png
|
||||
type: RGB565
|
||||
use_transparency: no
|
23
tests/components/animation/test.esp32.yaml
Normal file
23
tests/components/animation/test.esp32.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
spi:
|
||||
- id: spi_main_lcd
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
id: main_lcd
|
||||
model: ili9342
|
||||
cs_pin: 12
|
||||
dc_pin: 13
|
||||
reset_pin: 21
|
||||
|
||||
# Purposely test that `animation:` does auto-load `image:`
|
||||
# Keep the `image:` undefined.
|
||||
# image:
|
||||
|
||||
animation:
|
||||
- id: rgb565_animation
|
||||
file: ../../pnglogo.png
|
||||
type: RGB565
|
||||
use_transparency: no
|
23
tests/components/animation/test.esp8266.yaml
Normal file
23
tests/components/animation/test.esp8266.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
spi:
|
||||
- id: spi_main_lcd
|
||||
clk_pin: 14
|
||||
mosi_pin: 13
|
||||
miso_pin: 12
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
id: main_lcd
|
||||
model: ili9342
|
||||
cs_pin: 5
|
||||
dc_pin: 15
|
||||
reset_pin: 16
|
||||
|
||||
# Purposely test that `animation:` does auto-load `image:`
|
||||
# Keep the `image:` undefined.
|
||||
# image:
|
||||
|
||||
animation:
|
||||
- id: rgb565_animation
|
||||
file: ../../pnglogo.png
|
||||
type: RGB565
|
||||
use_transparency: no
|
23
tests/components/animation/test.rp2040.yaml
Normal file
23
tests/components/animation/test.rp2040.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
spi:
|
||||
- id: spi_main_lcd
|
||||
clk_pin: 2
|
||||
mosi_pin: 3
|
||||
miso_pin: 4
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
id: main_lcd
|
||||
model: ili9342
|
||||
cs_pin: 20
|
||||
dc_pin: 21
|
||||
reset_pin: 22
|
||||
|
||||
# Purposely test that `animation:` does auto-load `image:`
|
||||
# Keep the `image:` undefined.
|
||||
# image:
|
||||
|
||||
animation:
|
||||
- id: rgb565_animation
|
||||
file: ../../pnglogo.png
|
||||
type: RGB565
|
||||
use_transparency: no
|
Reference in New Issue
Block a user