mirror of
https://github.com/esphome/esphome.git
synced 2024-12-21 21:14:52 +01:00
Add some components to the new testing framework (I) (#6185)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
b1839702f9
commit
18149bc276
82 changed files with 1296 additions and 11 deletions
4
tests/components/i2c/test.esp32-c3-idf.yaml
Normal file
4
tests/components/i2c/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
i2c:
|
||||
- id: i2c_i2c
|
||||
scl: 5
|
||||
sda: 4
|
4
tests/components/i2c/test.esp32-c3.yaml
Normal file
4
tests/components/i2c/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
i2c:
|
||||
- id: i2c_i2c
|
||||
scl: 5
|
||||
sda: 4
|
4
tests/components/i2c/test.esp32-idf.yaml
Normal file
4
tests/components/i2c/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
i2c:
|
||||
- id: i2c_i2c
|
||||
scl: 16
|
||||
sda: 17
|
4
tests/components/i2c/test.esp32.yaml
Normal file
4
tests/components/i2c/test.esp32.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
i2c:
|
||||
- id: i2c_i2c
|
||||
scl: 16
|
||||
sda: 17
|
4
tests/components/i2c/test.esp8266.yaml
Normal file
4
tests/components/i2c/test.esp8266.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
i2c:
|
||||
- id: i2c_i2c
|
||||
scl: 5
|
||||
sda: 4
|
4
tests/components/i2c/test.rp2040.yaml
Normal file
4
tests/components/i2c/test.rp2040.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
i2c:
|
||||
- id: i2c_i2c
|
||||
scl: 5
|
||||
sda: 4
|
4
tests/components/i2s_audio/test.esp32-c3-idf.yaml
Normal file
4
tests/components/i2s_audio/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
i2s_audio:
|
||||
i2s_bclk_pin: 7
|
||||
i2s_lrclk_pin: 6
|
||||
i2s_mclk_pin: 5
|
4
tests/components/i2s_audio/test.esp32-c3.yaml
Normal file
4
tests/components/i2s_audio/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
i2s_audio:
|
||||
i2s_bclk_pin: 7
|
||||
i2s_lrclk_pin: 6
|
||||
i2s_mclk_pin: 5
|
4
tests/components/i2s_audio/test.esp32-idf.yaml
Normal file
4
tests/components/i2s_audio/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
i2s_audio:
|
||||
i2s_bclk_pin: 27
|
||||
i2s_lrclk_pin: 26
|
||||
i2s_mclk_pin: 25
|
4
tests/components/i2s_audio/test.esp32.yaml
Normal file
4
tests/components/i2s_audio/test.esp32.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
i2s_audio:
|
||||
i2s_bclk_pin: 27
|
||||
i2s_lrclk_pin: 26
|
||||
i2s_mclk_pin: 25
|
11
tests/components/iaqcore/test.esp32-c3-idf.yaml
Normal file
11
tests/components/iaqcore/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
i2c:
|
||||
- id: i2c_iaqcore
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: iaqcore
|
||||
co2:
|
||||
name: iAQ Core CO2 Sensor
|
||||
tvoc:
|
||||
name: iAQ Core TVOC Sensor
|
11
tests/components/iaqcore/test.esp32-c3.yaml
Normal file
11
tests/components/iaqcore/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
i2c:
|
||||
- id: i2c_iaqcore
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: iaqcore
|
||||
co2:
|
||||
name: iAQ Core CO2 Sensor
|
||||
tvoc:
|
||||
name: iAQ Core TVOC Sensor
|
11
tests/components/iaqcore/test.esp32-idf.yaml
Normal file
11
tests/components/iaqcore/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
i2c:
|
||||
- id: i2c_iaqcore
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: iaqcore
|
||||
co2:
|
||||
name: iAQ Core CO2 Sensor
|
||||
tvoc:
|
||||
name: iAQ Core TVOC Sensor
|
11
tests/components/iaqcore/test.esp32.yaml
Normal file
11
tests/components/iaqcore/test.esp32.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
i2c:
|
||||
- id: i2c_iaqcore
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: iaqcore
|
||||
co2:
|
||||
name: iAQ Core CO2 Sensor
|
||||
tvoc:
|
||||
name: iAQ Core TVOC Sensor
|
11
tests/components/iaqcore/test.esp8266.yaml
Normal file
11
tests/components/iaqcore/test.esp8266.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
i2c:
|
||||
- id: i2c_iaqcore
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: iaqcore
|
||||
co2:
|
||||
name: iAQ Core CO2 Sensor
|
||||
tvoc:
|
||||
name: iAQ Core TVOC Sensor
|
11
tests/components/iaqcore/test.rp2040.yaml
Normal file
11
tests/components/iaqcore/test.rp2040.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
i2c:
|
||||
- id: i2c_iaqcore
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: iaqcore
|
||||
co2:
|
||||
name: iAQ Core CO2 Sensor
|
||||
tvoc:
|
||||
name: iAQ Core TVOC Sensor
|
35
tests/components/ili9xxx/test.esp32-c3-idf.yaml
Normal file
35
tests/components/ili9xxx/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,35 @@
|
|||
spi:
|
||||
- id: spi_main_lcd
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
invert_colors: true
|
||||
dimensions: 320x240
|
||||
transform:
|
||||
swap_xy: true
|
||||
mirror_x: true
|
||||
mirror_y: false
|
||||
model: TFT 2.4
|
||||
color_palette: GRAYSCALE
|
||||
cs_pin: 8
|
||||
dc_pin: 9
|
||||
reset_pin: 10
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||
- platform: ili9xxx
|
||||
dimensions:
|
||||
width: 320
|
||||
height: 240
|
||||
offset_width: 20
|
||||
offset_height: 10
|
||||
model: TFT 2.4
|
||||
cs_pin: 2
|
||||
dc_pin: 3
|
||||
reset_pin: 4
|
||||
auto_clear_enabled: false
|
||||
rotation: 90
|
||||
lambda: |-
|
||||
it.fill(Color::WHITE);
|
35
tests/components/ili9xxx/test.esp32-c3.yaml
Normal file
35
tests/components/ili9xxx/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,35 @@
|
|||
spi:
|
||||
- id: spi_main_lcd
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
invert_colors: true
|
||||
dimensions: 320x240
|
||||
transform:
|
||||
swap_xy: true
|
||||
mirror_x: true
|
||||
mirror_y: false
|
||||
model: TFT 2.4
|
||||
color_palette: GRAYSCALE
|
||||
cs_pin: 8
|
||||
dc_pin: 9
|
||||
reset_pin: 10
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||
- platform: ili9xxx
|
||||
dimensions:
|
||||
width: 320
|
||||
height: 240
|
||||
offset_width: 20
|
||||
offset_height: 10
|
||||
model: TFT 2.4
|
||||
cs_pin: 2
|
||||
dc_pin: 3
|
||||
reset_pin: 4
|
||||
auto_clear_enabled: false
|
||||
rotation: 90
|
||||
lambda: |-
|
||||
it.fill(Color::WHITE);
|
35
tests/components/ili9xxx/test.esp32-idf.yaml
Normal file
35
tests/components/ili9xxx/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,35 @@
|
|||
spi:
|
||||
- id: spi_main_lcd
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
invert_colors: true
|
||||
dimensions: 320x240
|
||||
transform:
|
||||
swap_xy: true
|
||||
mirror_x: true
|
||||
mirror_y: false
|
||||
model: TFT 2.4
|
||||
color_palette: GRAYSCALE
|
||||
cs_pin: 12
|
||||
dc_pin: 13
|
||||
reset_pin: 14
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||
- platform: ili9xxx
|
||||
dimensions:
|
||||
width: 320
|
||||
height: 240
|
||||
offset_width: 20
|
||||
offset_height: 10
|
||||
model: TFT 2.4
|
||||
cs_pin: 25
|
||||
dc_pin: 26
|
||||
reset_pin: 27
|
||||
auto_clear_enabled: false
|
||||
rotation: 90
|
||||
lambda: |-
|
||||
it.fill(Color::WHITE);
|
|
@ -1,11 +1,34 @@
|
|||
spi:
|
||||
mosi_pin: GPIO23
|
||||
clk_pin: GPIO18
|
||||
- id: spi_main_lcd
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
model: gc9a01a
|
||||
id: gca901_display
|
||||
cs_pin: GPIO5
|
||||
dc_pin: GPIO22
|
||||
reset_pin: GPIO21
|
||||
invert_colors: true
|
||||
dimensions: 320x240
|
||||
transform:
|
||||
swap_xy: true
|
||||
mirror_x: true
|
||||
mirror_y: false
|
||||
model: TFT 2.4
|
||||
color_palette: GRAYSCALE
|
||||
cs_pin: 12
|
||||
dc_pin: 13
|
||||
reset_pin: 14
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||
- platform: ili9xxx
|
||||
dimensions:
|
||||
width: 320
|
||||
height: 240
|
||||
offset_width: 20
|
||||
offset_height: 10
|
||||
model: TFT 2.4
|
||||
cs_pin: 25
|
||||
dc_pin: 26
|
||||
reset_pin: 27
|
||||
auto_clear_enabled: false
|
||||
rotation: 90
|
||||
lambda: |-
|
||||
it.fill(Color::WHITE);
|
||||
|
|
35
tests/components/ili9xxx/test.esp8266.yaml
Normal file
35
tests/components/ili9xxx/test.esp8266.yaml
Normal file
|
@ -0,0 +1,35 @@
|
|||
spi:
|
||||
- id: spi_main_lcd
|
||||
clk_pin: 14
|
||||
mosi_pin: 13
|
||||
miso_pin: 12
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
invert_colors: true
|
||||
dimensions: 320x240
|
||||
transform:
|
||||
swap_xy: true
|
||||
mirror_x: true
|
||||
mirror_y: false
|
||||
model: TFT 2.4
|
||||
color_palette: GRAYSCALE
|
||||
cs_pin: 5
|
||||
dc_pin: 15
|
||||
reset_pin: 16
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||
- platform: ili9xxx
|
||||
dimensions:
|
||||
width: 320
|
||||
height: 240
|
||||
offset_width: 20
|
||||
offset_height: 10
|
||||
model: TFT 2.4
|
||||
cs_pin: 2
|
||||
dc_pin: 4
|
||||
reset_pin: 0
|
||||
auto_clear_enabled: false
|
||||
rotation: 90
|
||||
lambda: |-
|
||||
it.fill(Color::WHITE);
|
35
tests/components/ili9xxx/test.rp2040.yaml
Normal file
35
tests/components/ili9xxx/test.rp2040.yaml
Normal file
|
@ -0,0 +1,35 @@
|
|||
spi:
|
||||
- id: spi_main_lcd
|
||||
clk_pin: 2
|
||||
mosi_pin: 3
|
||||
miso_pin: 4
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
invert_colors: true
|
||||
dimensions: 320x240
|
||||
transform:
|
||||
swap_xy: true
|
||||
mirror_x: true
|
||||
mirror_y: false
|
||||
model: TFT 2.4
|
||||
color_palette: GRAYSCALE
|
||||
cs_pin: 5
|
||||
dc_pin: 15
|
||||
reset_pin: 16
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||
- platform: ili9xxx
|
||||
dimensions:
|
||||
width: 320
|
||||
height: 240
|
||||
offset_width: 20
|
||||
offset_height: 10
|
||||
model: TFT 2.4
|
||||
cs_pin: 20
|
||||
dc_pin: 21
|
||||
reset_pin: 22
|
||||
auto_clear_enabled: false
|
||||
rotation: 90
|
||||
lambda: |-
|
||||
it.fill(Color::WHITE);
|
52
tests/components/image/test.esp32-c3-idf.yaml
Normal file
52
tests/components/image/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,52 @@
|
|||
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
|
||||
|
||||
image:
|
||||
- id: binary_image
|
||||
file: ../../pnglogo.png
|
||||
type: BINARY
|
||||
dither: FloydSteinberg
|
||||
- id: transparent_transparent_image
|
||||
file: ../../pnglogo.png
|
||||
type: TRANSPARENT_BINARY
|
||||
- id: rgba_image
|
||||
file: ../../pnglogo.png
|
||||
type: RGBA
|
||||
resize: 50x50
|
||||
- id: rgb24_image
|
||||
file: ../../pnglogo.png
|
||||
type: RGB24
|
||||
use_transparency: yes
|
||||
- id: rgb565_image
|
||||
file: ../../pnglogo.png
|
||||
type: RGB565
|
||||
use_transparency: no
|
||||
- id: web_svg_image
|
||||
file: https://raw.githubusercontent.com/esphome/esphome-docs/a62d7ab193c1a464ed791670170c7d518189109b/images/logo.svg
|
||||
resize: 256x48
|
||||
type: TRANSPARENT_BINARY
|
||||
- id: web_tiff_image
|
||||
file: https://upload.wikimedia.org/wikipedia/commons/b/b6/SIPI_Jelly_Beans_4.1.07.tiff
|
||||
type: RGB24
|
||||
resize: 48x48
|
||||
- id: web_redirect_image
|
||||
file: https://avatars.githubusercontent.com/u/3060199?s=48&v=4
|
||||
type: RGB24
|
||||
resize: 48x48
|
||||
- id: mdi_alert
|
||||
file: mdi:alert-circle-outline
|
||||
resize: 50x50
|
||||
- id: another_alert_icon
|
||||
file: mdi:alert-outline
|
||||
type: BINARY
|
52
tests/components/image/test.esp32-c3.yaml
Normal file
52
tests/components/image/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,52 @@
|
|||
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
|
||||
|
||||
image:
|
||||
- id: binary_image
|
||||
file: ../../pnglogo.png
|
||||
type: BINARY
|
||||
dither: FloydSteinberg
|
||||
- id: transparent_transparent_image
|
||||
file: ../../pnglogo.png
|
||||
type: TRANSPARENT_BINARY
|
||||
- id: rgba_image
|
||||
file: ../../pnglogo.png
|
||||
type: RGBA
|
||||
resize: 50x50
|
||||
- id: rgb24_image
|
||||
file: ../../pnglogo.png
|
||||
type: RGB24
|
||||
use_transparency: yes
|
||||
- id: rgb565_image
|
||||
file: ../../pnglogo.png
|
||||
type: RGB565
|
||||
use_transparency: no
|
||||
- id: web_svg_image
|
||||
file: https://raw.githubusercontent.com/esphome/esphome-docs/a62d7ab193c1a464ed791670170c7d518189109b/images/logo.svg
|
||||
resize: 256x48
|
||||
type: TRANSPARENT_BINARY
|
||||
- id: web_tiff_image
|
||||
file: https://upload.wikimedia.org/wikipedia/commons/b/b6/SIPI_Jelly_Beans_4.1.07.tiff
|
||||
type: RGB24
|
||||
resize: 48x48
|
||||
- id: web_redirect_image
|
||||
file: https://avatars.githubusercontent.com/u/3060199?s=48&v=4
|
||||
type: RGB24
|
||||
resize: 48x48
|
||||
- id: mdi_alert
|
||||
file: mdi:alert-circle-outline
|
||||
resize: 50x50
|
||||
- id: another_alert_icon
|
||||
file: mdi:alert-outline
|
||||
type: BINARY
|
52
tests/components/image/test.esp32-idf.yaml
Normal file
52
tests/components/image/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,52 @@
|
|||
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
|
||||
|
||||
image:
|
||||
- id: binary_image
|
||||
file: ../../pnglogo.png
|
||||
type: BINARY
|
||||
dither: FloydSteinberg
|
||||
- id: transparent_transparent_image
|
||||
file: ../../pnglogo.png
|
||||
type: TRANSPARENT_BINARY
|
||||
- id: rgba_image
|
||||
file: ../../pnglogo.png
|
||||
type: RGBA
|
||||
resize: 50x50
|
||||
- id: rgb24_image
|
||||
file: ../../pnglogo.png
|
||||
type: RGB24
|
||||
use_transparency: yes
|
||||
- id: rgb565_image
|
||||
file: ../../pnglogo.png
|
||||
type: RGB565
|
||||
use_transparency: no
|
||||
- id: web_svg_image
|
||||
file: https://raw.githubusercontent.com/esphome/esphome-docs/a62d7ab193c1a464ed791670170c7d518189109b/images/logo.svg
|
||||
resize: 256x48
|
||||
type: TRANSPARENT_BINARY
|
||||
- id: web_tiff_image
|
||||
file: https://upload.wikimedia.org/wikipedia/commons/b/b6/SIPI_Jelly_Beans_4.1.07.tiff
|
||||
type: RGB24
|
||||
resize: 48x48
|
||||
- id: web_redirect_image
|
||||
file: https://avatars.githubusercontent.com/u/3060199?s=48&v=4
|
||||
type: RGB24
|
||||
resize: 48x48
|
||||
- id: mdi_alert
|
||||
file: mdi:alert-circle-outline
|
||||
resize: 50x50
|
||||
- id: another_alert_icon
|
||||
file: mdi:alert-outline
|
||||
type: BINARY
|
52
tests/components/image/test.esp32.yaml
Normal file
52
tests/components/image/test.esp32.yaml
Normal file
|
@ -0,0 +1,52 @@
|
|||
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
|
||||
|
||||
image:
|
||||
- id: binary_image
|
||||
file: ../../pnglogo.png
|
||||
type: BINARY
|
||||
dither: FloydSteinberg
|
||||
- id: transparent_transparent_image
|
||||
file: ../../pnglogo.png
|
||||
type: TRANSPARENT_BINARY
|
||||
- id: rgba_image
|
||||
file: ../../pnglogo.png
|
||||
type: RGBA
|
||||
resize: 50x50
|
||||
- id: rgb24_image
|
||||
file: ../../pnglogo.png
|
||||
type: RGB24
|
||||
use_transparency: yes
|
||||
- id: rgb565_image
|
||||
file: ../../pnglogo.png
|
||||
type: RGB565
|
||||
use_transparency: no
|
||||
- id: web_svg_image
|
||||
file: https://raw.githubusercontent.com/esphome/esphome-docs/a62d7ab193c1a464ed791670170c7d518189109b/images/logo.svg
|
||||
resize: 256x48
|
||||
type: TRANSPARENT_BINARY
|
||||
- id: web_tiff_image
|
||||
file: https://upload.wikimedia.org/wikipedia/commons/b/b6/SIPI_Jelly_Beans_4.1.07.tiff
|
||||
type: RGB24
|
||||
resize: 48x48
|
||||
- id: web_redirect_image
|
||||
file: https://avatars.githubusercontent.com/u/3060199?s=48&v=4
|
||||
type: RGB24
|
||||
resize: 48x48
|
||||
- id: mdi_alert
|
||||
file: mdi:alert-circle-outline
|
||||
resize: 50x50
|
||||
- id: another_alert_icon
|
||||
file: mdi:alert-outline
|
||||
type: BINARY
|
52
tests/components/image/test.esp8266.yaml
Normal file
52
tests/components/image/test.esp8266.yaml
Normal file
|
@ -0,0 +1,52 @@
|
|||
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
|
||||
|
||||
image:
|
||||
- id: binary_image
|
||||
file: ../../pnglogo.png
|
||||
type: BINARY
|
||||
dither: FloydSteinberg
|
||||
- id: transparent_transparent_image
|
||||
file: ../../pnglogo.png
|
||||
type: TRANSPARENT_BINARY
|
||||
- id: rgba_image
|
||||
file: ../../pnglogo.png
|
||||
type: RGBA
|
||||
resize: 50x50
|
||||
- id: rgb24_image
|
||||
file: ../../pnglogo.png
|
||||
type: RGB24
|
||||
use_transparency: yes
|
||||
- id: rgb565_image
|
||||
file: ../../pnglogo.png
|
||||
type: RGB565
|
||||
use_transparency: no
|
||||
- id: web_svg_image
|
||||
file: https://raw.githubusercontent.com/esphome/esphome-docs/a62d7ab193c1a464ed791670170c7d518189109b/images/logo.svg
|
||||
resize: 256x48
|
||||
type: TRANSPARENT_BINARY
|
||||
- id: web_tiff_image
|
||||
file: https://upload.wikimedia.org/wikipedia/commons/b/b6/SIPI_Jelly_Beans_4.1.07.tiff
|
||||
type: RGB24
|
||||
resize: 48x48
|
||||
- id: web_redirect_image
|
||||
file: https://avatars.githubusercontent.com/u/3060199?s=48&v=4
|
||||
type: RGB24
|
||||
resize: 48x48
|
||||
- id: mdi_alert
|
||||
file: mdi:alert-circle-outline
|
||||
resize: 50x50
|
||||
- id: another_alert_icon
|
||||
file: mdi:alert-outline
|
||||
type: BINARY
|
52
tests/components/image/test.rp2040.yaml
Normal file
52
tests/components/image/test.rp2040.yaml
Normal file
|
@ -0,0 +1,52 @@
|
|||
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
|
||||
|
||||
image:
|
||||
- id: binary_image
|
||||
file: ../../pnglogo.png
|
||||
type: BINARY
|
||||
dither: FloydSteinberg
|
||||
- id: transparent_transparent_image
|
||||
file: ../../pnglogo.png
|
||||
type: TRANSPARENT_BINARY
|
||||
- id: rgba_image
|
||||
file: ../../pnglogo.png
|
||||
type: RGBA
|
||||
resize: 50x50
|
||||
- id: rgb24_image
|
||||
file: ../../pnglogo.png
|
||||
type: RGB24
|
||||
use_transparency: yes
|
||||
- id: rgb565_image
|
||||
file: ../../pnglogo.png
|
||||
type: RGB565
|
||||
use_transparency: no
|
||||
- id: web_svg_image
|
||||
file: https://raw.githubusercontent.com/esphome/esphome-docs/a62d7ab193c1a464ed791670170c7d518189109b/images/logo.svg
|
||||
resize: 256x48
|
||||
type: TRANSPARENT_BINARY
|
||||
- id: web_tiff_image
|
||||
file: https://upload.wikimedia.org/wikipedia/commons/b/b6/SIPI_Jelly_Beans_4.1.07.tiff
|
||||
type: RGB24
|
||||
resize: 48x48
|
||||
- id: web_redirect_image
|
||||
file: https://avatars.githubusercontent.com/u/3060199?s=48&v=4
|
||||
type: RGB24
|
||||
resize: 48x48
|
||||
- id: mdi_alert
|
||||
file: mdi:alert-circle-outline
|
||||
resize: 50x50
|
||||
- id: another_alert_icon
|
||||
file: mdi:alert-outline
|
||||
type: BINARY
|
5
tests/components/improv_serial/test.esp32-c3-idf.yaml
Normal file
5
tests/components/improv_serial/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
improv_serial:
|
5
tests/components/improv_serial/test.esp32-c3.yaml
Normal file
5
tests/components/improv_serial/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
improv_serial:
|
5
tests/components/improv_serial/test.esp32-idf.yaml
Normal file
5
tests/components/improv_serial/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
improv_serial:
|
5
tests/components/improv_serial/test.esp32.yaml
Normal file
5
tests/components/improv_serial/test.esp32.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
improv_serial:
|
5
tests/components/improv_serial/test.esp8266.yaml
Normal file
5
tests/components/improv_serial/test.esp8266.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
improv_serial:
|
5
tests/components/improv_serial/test.rp2040.yaml
Normal file
5
tests/components/improv_serial/test.rp2040.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
improv_serial:
|
20
tests/components/ina219/test.esp32-c3-idf.yaml
Normal file
20
tests/components/ina219/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
i2c:
|
||||
- id: i2c_ina219
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ina219
|
||||
address: 0x40
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA219 Current
|
||||
power:
|
||||
name: INA219 Power
|
||||
bus_voltage:
|
||||
name: INA219 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA219 Shunt Voltage
|
||||
max_voltage: 32.0V
|
||||
max_current: 3.2A
|
||||
update_interval: 15s
|
20
tests/components/ina219/test.esp32-c3.yaml
Normal file
20
tests/components/ina219/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
i2c:
|
||||
- id: i2c_ina219
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ina219
|
||||
address: 0x40
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA219 Current
|
||||
power:
|
||||
name: INA219 Power
|
||||
bus_voltage:
|
||||
name: INA219 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA219 Shunt Voltage
|
||||
max_voltage: 32.0V
|
||||
max_current: 3.2A
|
||||
update_interval: 15s
|
20
tests/components/ina219/test.esp32-idf.yaml
Normal file
20
tests/components/ina219/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
i2c:
|
||||
- id: i2c_ina219
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: ina219
|
||||
address: 0x40
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA219 Current
|
||||
power:
|
||||
name: INA219 Power
|
||||
bus_voltage:
|
||||
name: INA219 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA219 Shunt Voltage
|
||||
max_voltage: 32.0V
|
||||
max_current: 3.2A
|
||||
update_interval: 15s
|
20
tests/components/ina219/test.esp32.yaml
Normal file
20
tests/components/ina219/test.esp32.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
i2c:
|
||||
- id: i2c_ina219
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: ina219
|
||||
address: 0x40
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA219 Current
|
||||
power:
|
||||
name: INA219 Power
|
||||
bus_voltage:
|
||||
name: INA219 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA219 Shunt Voltage
|
||||
max_voltage: 32.0V
|
||||
max_current: 3.2A
|
||||
update_interval: 15s
|
20
tests/components/ina219/test.esp8266.yaml
Normal file
20
tests/components/ina219/test.esp8266.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
i2c:
|
||||
- id: i2c_ina219
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ina219
|
||||
address: 0x40
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA219 Current
|
||||
power:
|
||||
name: INA219 Power
|
||||
bus_voltage:
|
||||
name: INA219 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA219 Shunt Voltage
|
||||
max_voltage: 32.0V
|
||||
max_current: 3.2A
|
||||
update_interval: 15s
|
20
tests/components/ina219/test.rp2040.yaml
Normal file
20
tests/components/ina219/test.rp2040.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
i2c:
|
||||
- id: i2c_ina219
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ina219
|
||||
address: 0x40
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA219 Current
|
||||
power:
|
||||
name: INA219 Power
|
||||
bus_voltage:
|
||||
name: INA219 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA219 Shunt Voltage
|
||||
max_voltage: 32.0V
|
||||
max_current: 3.2A
|
||||
update_interval: 15s
|
19
tests/components/ina226/test.esp32-c3-idf.yaml
Normal file
19
tests/components/ina226/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_ina226
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ina226
|
||||
address: 0x40
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA226 Current
|
||||
power:
|
||||
name: INA226 Power
|
||||
bus_voltage:
|
||||
name: INA226 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA226 Shunt Voltage
|
||||
max_current: 3.2A
|
||||
update_interval: 15s
|
19
tests/components/ina226/test.esp32-c3.yaml
Normal file
19
tests/components/ina226/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_ina226
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ina226
|
||||
address: 0x40
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA226 Current
|
||||
power:
|
||||
name: INA226 Power
|
||||
bus_voltage:
|
||||
name: INA226 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA226 Shunt Voltage
|
||||
max_current: 3.2A
|
||||
update_interval: 15s
|
19
tests/components/ina226/test.esp32-idf.yaml
Normal file
19
tests/components/ina226/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_ina226
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: ina226
|
||||
address: 0x40
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA226 Current
|
||||
power:
|
||||
name: INA226 Power
|
||||
bus_voltage:
|
||||
name: INA226 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA226 Shunt Voltage
|
||||
max_current: 3.2A
|
||||
update_interval: 15s
|
19
tests/components/ina226/test.esp32.yaml
Normal file
19
tests/components/ina226/test.esp32.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_ina226
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: ina226
|
||||
address: 0x40
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA226 Current
|
||||
power:
|
||||
name: INA226 Power
|
||||
bus_voltage:
|
||||
name: INA226 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA226 Shunt Voltage
|
||||
max_current: 3.2A
|
||||
update_interval: 15s
|
19
tests/components/ina226/test.esp8266.yaml
Normal file
19
tests/components/ina226/test.esp8266.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_ina226
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ina226
|
||||
address: 0x40
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA226 Current
|
||||
power:
|
||||
name: INA226 Power
|
||||
bus_voltage:
|
||||
name: INA226 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA226 Shunt Voltage
|
||||
max_current: 3.2A
|
||||
update_interval: 15s
|
19
tests/components/ina226/test.rp2040.yaml
Normal file
19
tests/components/ina226/test.rp2040.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_ina226
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ina226
|
||||
address: 0x40
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA226 Current
|
||||
power:
|
||||
name: INA226 Power
|
||||
bus_voltage:
|
||||
name: INA226 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA226 Shunt Voltage
|
||||
max_current: 3.2A
|
||||
update_interval: 15s
|
15
tests/components/ina260/test.esp32-c3-idf.yaml
Normal file
15
tests/components/ina260/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_ina260
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ina260
|
||||
address: 0x40
|
||||
current:
|
||||
name: INA260 Current
|
||||
power:
|
||||
name: INA260 Power
|
||||
bus_voltage:
|
||||
name: INA260 Voltage
|
||||
update_interval: 60s
|
15
tests/components/ina260/test.esp32-c3.yaml
Normal file
15
tests/components/ina260/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_ina260
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ina260
|
||||
address: 0x40
|
||||
current:
|
||||
name: INA260 Current
|
||||
power:
|
||||
name: INA260 Power
|
||||
bus_voltage:
|
||||
name: INA260 Voltage
|
||||
update_interval: 60s
|
15
tests/components/ina260/test.esp32-idf.yaml
Normal file
15
tests/components/ina260/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_ina260
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: ina260
|
||||
address: 0x40
|
||||
current:
|
||||
name: INA260 Current
|
||||
power:
|
||||
name: INA260 Power
|
||||
bus_voltage:
|
||||
name: INA260 Voltage
|
||||
update_interval: 60s
|
15
tests/components/ina260/test.esp32.yaml
Normal file
15
tests/components/ina260/test.esp32.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_ina260
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: ina260
|
||||
address: 0x40
|
||||
current:
|
||||
name: INA260 Current
|
||||
power:
|
||||
name: INA260 Power
|
||||
bus_voltage:
|
||||
name: INA260 Voltage
|
||||
update_interval: 60s
|
15
tests/components/ina260/test.esp8266.yaml
Normal file
15
tests/components/ina260/test.esp8266.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_ina260
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ina260
|
||||
address: 0x40
|
||||
current:
|
||||
name: INA260 Current
|
||||
power:
|
||||
name: INA260 Power
|
||||
bus_voltage:
|
||||
name: INA260 Voltage
|
||||
update_interval: 60s
|
15
tests/components/ina260/test.rp2040.yaml
Normal file
15
tests/components/ina260/test.rp2040.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_ina260
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ina260
|
||||
address: 0x40
|
||||
current:
|
||||
name: INA260 Current
|
||||
power:
|
||||
name: INA260 Power
|
||||
bus_voltage:
|
||||
name: INA260 Voltage
|
||||
update_interval: 60s
|
19
tests/components/ina3221/test.esp32-c3-idf.yaml
Normal file
19
tests/components/ina3221/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_ina3221
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ina3221
|
||||
address: 0x40
|
||||
channel_1:
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA3221 Channel 1 Current
|
||||
power:
|
||||
name: INA3221 Channel 1 Power
|
||||
bus_voltage:
|
||||
name: INA3221 Channel 1 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA3221 Channel 1 Shunt Voltage
|
||||
update_interval: 15s
|
19
tests/components/ina3221/test.esp32-c3.yaml
Normal file
19
tests/components/ina3221/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_ina3221
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ina3221
|
||||
address: 0x40
|
||||
channel_1:
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA3221 Channel 1 Current
|
||||
power:
|
||||
name: INA3221 Channel 1 Power
|
||||
bus_voltage:
|
||||
name: INA3221 Channel 1 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA3221 Channel 1 Shunt Voltage
|
||||
update_interval: 15s
|
19
tests/components/ina3221/test.esp32-idf.yaml
Normal file
19
tests/components/ina3221/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_ina3221
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: ina3221
|
||||
address: 0x40
|
||||
channel_1:
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA3221 Channel 1 Current
|
||||
power:
|
||||
name: INA3221 Channel 1 Power
|
||||
bus_voltage:
|
||||
name: INA3221 Channel 1 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA3221 Channel 1 Shunt Voltage
|
||||
update_interval: 15s
|
19
tests/components/ina3221/test.esp32.yaml
Normal file
19
tests/components/ina3221/test.esp32.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_ina3221
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: ina3221
|
||||
address: 0x40
|
||||
channel_1:
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA3221 Channel 1 Current
|
||||
power:
|
||||
name: INA3221 Channel 1 Power
|
||||
bus_voltage:
|
||||
name: INA3221 Channel 1 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA3221 Channel 1 Shunt Voltage
|
||||
update_interval: 15s
|
19
tests/components/ina3221/test.esp8266.yaml
Normal file
19
tests/components/ina3221/test.esp8266.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_ina3221
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ina3221
|
||||
address: 0x40
|
||||
channel_1:
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA3221 Channel 1 Current
|
||||
power:
|
||||
name: INA3221 Channel 1 Power
|
||||
bus_voltage:
|
||||
name: INA3221 Channel 1 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA3221 Channel 1 Shunt Voltage
|
||||
update_interval: 15s
|
19
tests/components/ina3221/test.rp2040.yaml
Normal file
19
tests/components/ina3221/test.rp2040.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_ina3221
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ina3221
|
||||
address: 0x40
|
||||
channel_1:
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA3221 Channel 1 Current
|
||||
power:
|
||||
name: INA3221 Channel 1 Power
|
||||
bus_voltage:
|
||||
name: INA3221 Channel 1 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA3221 Channel 1 Shunt Voltage
|
||||
update_interval: 15s
|
11
tests/components/inkbird_ibsth1_mini/test.esp32-c3-idf.yaml
Normal file
11
tests/components/inkbird_ibsth1_mini/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: inkbird_ibsth1_mini
|
||||
mac_address: 38:81:D7:0A:9C:11
|
||||
temperature:
|
||||
name: Inkbird IBS-TH1 Temperature
|
||||
humidity:
|
||||
name: Inkbird IBS-TH1 Humidity
|
||||
battery_level:
|
||||
name: Inkbird IBS-TH1 Battery Level
|
11
tests/components/inkbird_ibsth1_mini/test.esp32-c3.yaml
Normal file
11
tests/components/inkbird_ibsth1_mini/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: inkbird_ibsth1_mini
|
||||
mac_address: 38:81:D7:0A:9C:11
|
||||
temperature:
|
||||
name: Inkbird IBS-TH1 Temperature
|
||||
humidity:
|
||||
name: Inkbird IBS-TH1 Humidity
|
||||
battery_level:
|
||||
name: Inkbird IBS-TH1 Battery Level
|
11
tests/components/inkbird_ibsth1_mini/test.esp32-idf.yaml
Normal file
11
tests/components/inkbird_ibsth1_mini/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: inkbird_ibsth1_mini
|
||||
mac_address: 38:81:D7:0A:9C:11
|
||||
temperature:
|
||||
name: Inkbird IBS-TH1 Temperature
|
||||
humidity:
|
||||
name: Inkbird IBS-TH1 Humidity
|
||||
battery_level:
|
||||
name: Inkbird IBS-TH1 Battery Level
|
11
tests/components/inkbird_ibsth1_mini/test.esp32.yaml
Normal file
11
tests/components/inkbird_ibsth1_mini/test.esp32.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: inkbird_ibsth1_mini
|
||||
mac_address: 38:81:D7:0A:9C:11
|
||||
temperature:
|
||||
name: Inkbird IBS-TH1 Temperature
|
||||
humidity:
|
||||
name: Inkbird IBS-TH1 Humidity
|
||||
battery_level:
|
||||
name: Inkbird IBS-TH1 Battery Level
|
62
tests/components/inkplate6/test.esp32.yaml
Normal file
62
tests/components/inkplate6/test.esp32.yaml
Normal file
|
@ -0,0 +1,62 @@
|
|||
i2c:
|
||||
- id: i2c_inkplate6
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
display:
|
||||
- platform: inkplate6
|
||||
id: inkplate_display
|
||||
greyscale: false
|
||||
partial_updating: false
|
||||
update_interval: 60s
|
||||
display_data_0_pin:
|
||||
number: 1
|
||||
allow_other_uses: true
|
||||
display_data_1_pin:
|
||||
number: 1
|
||||
allow_other_uses: true
|
||||
display_data_2_pin:
|
||||
number: 1
|
||||
allow_other_uses: true
|
||||
display_data_3_pin:
|
||||
number: 1
|
||||
allow_other_uses: true
|
||||
display_data_5_pin:
|
||||
number: 1
|
||||
allow_other_uses: true
|
||||
display_data_4_pin:
|
||||
number: 1
|
||||
allow_other_uses: true
|
||||
display_data_6_pin:
|
||||
number: 1
|
||||
allow_other_uses: true
|
||||
display_data_7_pin:
|
||||
number: 1
|
||||
allow_other_uses: true
|
||||
ckv_pin:
|
||||
number: 1
|
||||
allow_other_uses: true
|
||||
sph_pin:
|
||||
number: 1
|
||||
allow_other_uses: true
|
||||
gmod_pin:
|
||||
number: 1
|
||||
allow_other_uses: true
|
||||
gpio0_enable_pin:
|
||||
number: 1
|
||||
allow_other_uses: true
|
||||
oe_pin:
|
||||
number: 1
|
||||
allow_other_uses: true
|
||||
spv_pin:
|
||||
number: 1
|
||||
allow_other_uses: true
|
||||
powerup_pin:
|
||||
number: 1
|
||||
allow_other_uses: true
|
||||
wakeup_pin:
|
||||
number: 1
|
||||
allow_other_uses: true
|
||||
vcom_pin:
|
||||
number: 1
|
||||
allow_other_uses: true
|
9
tests/components/integration/test.esp32-c3.yaml
Normal file
9
tests/components/integration/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
sensor:
|
||||
- platform: adc
|
||||
id: my_sensor
|
||||
pin: 4
|
||||
attenuation: 11db
|
||||
- platform: integration
|
||||
sensor: my_sensor
|
||||
name: Integration Sensor
|
||||
time_unit: s
|
9
tests/components/integration/test.esp32-idf.yaml
Normal file
9
tests/components/integration/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
sensor:
|
||||
- platform: adc
|
||||
id: my_sensor
|
||||
pin: A0
|
||||
attenuation: 2.5db
|
||||
- platform: integration
|
||||
sensor: my_sensor
|
||||
name: Integration Sensor
|
||||
time_unit: s
|
9
tests/components/integration/test.esp32-s2.yaml
Normal file
9
tests/components/integration/test.esp32-s2.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
sensor:
|
||||
- platform: adc
|
||||
id: my_sensor
|
||||
pin: 1
|
||||
attenuation: 11db
|
||||
- platform: integration
|
||||
sensor: my_sensor
|
||||
name: Integration Sensor
|
||||
time_unit: s
|
9
tests/components/integration/test.esp32-s3.yaml
Normal file
9
tests/components/integration/test.esp32-s3.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
sensor:
|
||||
- platform: adc
|
||||
id: my_sensor
|
||||
pin: 1
|
||||
attenuation: 11db
|
||||
- platform: integration
|
||||
sensor: my_sensor
|
||||
name: Integration Sensor
|
||||
time_unit: s
|
9
tests/components/integration/test.esp32.yaml
Normal file
9
tests/components/integration/test.esp32.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
sensor:
|
||||
- platform: adc
|
||||
id: my_sensor
|
||||
pin: A0
|
||||
attenuation: 2.5db
|
||||
- platform: integration
|
||||
sensor: my_sensor
|
||||
name: Integration Sensor
|
||||
time_unit: s
|
8
tests/components/integration/test.esp8266.yaml
Normal file
8
tests/components/integration/test.esp8266.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
sensor:
|
||||
- platform: adc
|
||||
id: my_sensor
|
||||
pin: VCC
|
||||
- platform: integration
|
||||
sensor: my_sensor
|
||||
name: Integration Sensor
|
||||
time_unit: s
|
8
tests/components/integration/test.rp2040.yaml
Normal file
8
tests/components/integration/test.rp2040.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
sensor:
|
||||
- platform: adc
|
||||
id: my_sensor
|
||||
pin: VCC
|
||||
- platform: integration
|
||||
sensor: my_sensor
|
||||
name: Integration Sensor
|
||||
time_unit: s
|
|
@ -1,3 +1,3 @@
|
|||
sensor:
|
||||
- platform: internal_temperature
|
||||
name: "Internal Temperature"
|
||||
name: Internal Temperature
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
sensor:
|
||||
- platform: internal_temperature
|
||||
name: "Internal Temperature"
|
||||
name: Internal Temperature
|
||||
|
|
3
tests/components/internal_temperature/test.esp32-s2.yaml
Normal file
3
tests/components/internal_temperature/test.esp32-s2.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
sensor:
|
||||
- platform: internal_temperature
|
||||
name: Internal Temperature
|
7
tests/components/internal_temperature/test.esp32-s3.yaml
Normal file
7
tests/components/internal_temperature/test.esp32-s3.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
sensor:
|
||||
- platform: internal_temperature
|
||||
name: Internal Temperature
|
||||
|
||||
esp32:
|
||||
framework:
|
||||
version: 2.0.9
|
|
@ -1,3 +1,3 @@
|
|||
sensor:
|
||||
- platform: internal_temperature
|
||||
name: "Internal Temperature"
|
||||
name: Internal Temperature
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
sensor:
|
||||
- platform: internal_temperature
|
||||
name: "Internal Temperature"
|
||||
name: Internal Temperature
|
||||
|
|
4
tests/components/interval/test.esp32-c3-idf.yaml
Normal file
4
tests/components/interval/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
interval:
|
||||
- interval: 1s
|
||||
then:
|
||||
- logger.log: Tick
|
4
tests/components/interval/test.esp32-c3.yaml
Normal file
4
tests/components/interval/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
interval:
|
||||
- interval: 1s
|
||||
then:
|
||||
- logger.log: Tick
|
4
tests/components/interval/test.esp32-idf.yaml
Normal file
4
tests/components/interval/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
interval:
|
||||
- interval: 1s
|
||||
then:
|
||||
- logger.log: Tick
|
4
tests/components/interval/test.esp32.yaml
Normal file
4
tests/components/interval/test.esp32.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
interval:
|
||||
- interval: 1s
|
||||
then:
|
||||
- logger.log: Tick
|
4
tests/components/interval/test.esp8266.yaml
Normal file
4
tests/components/interval/test.esp8266.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
interval:
|
||||
- interval: 1s
|
||||
then:
|
||||
- logger.log: Tick
|
4
tests/components/interval/test.rp2040.yaml
Normal file
4
tests/components/interval/test.rp2040.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
interval:
|
||||
- interval: 1s
|
||||
then:
|
||||
- logger.log: Tick
|
Loading…
Reference in a new issue