mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
Add some components to the new testing framework (Q) (#6218)
This commit is contained in:
parent
9779989f67
commit
c36d7c0c3c
24 changed files with 360 additions and 0 deletions
19
tests/components/qmc5883l/test.esp32-c3-idf.yaml
Normal file
19
tests/components/qmc5883l/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_qmc5883l
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: qmc5883l
|
||||
address: 0x0D
|
||||
field_strength_x:
|
||||
name: QMC5883L Field Strength X
|
||||
field_strength_y:
|
||||
name: QMC5883L Field Strength Y
|
||||
field_strength_z:
|
||||
name: QMC5883L Field Strength Z
|
||||
heading:
|
||||
name: QMC5883L Heading
|
||||
range: 800uT
|
||||
oversampling: 256x
|
||||
update_interval: 15s
|
19
tests/components/qmc5883l/test.esp32-c3.yaml
Normal file
19
tests/components/qmc5883l/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_qmc5883l
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: qmc5883l
|
||||
address: 0x0D
|
||||
field_strength_x:
|
||||
name: QMC5883L Field Strength X
|
||||
field_strength_y:
|
||||
name: QMC5883L Field Strength Y
|
||||
field_strength_z:
|
||||
name: QMC5883L Field Strength Z
|
||||
heading:
|
||||
name: QMC5883L Heading
|
||||
range: 800uT
|
||||
oversampling: 256x
|
||||
update_interval: 15s
|
19
tests/components/qmc5883l/test.esp32-idf.yaml
Normal file
19
tests/components/qmc5883l/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_qmc5883l
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: qmc5883l
|
||||
address: 0x0D
|
||||
field_strength_x:
|
||||
name: QMC5883L Field Strength X
|
||||
field_strength_y:
|
||||
name: QMC5883L Field Strength Y
|
||||
field_strength_z:
|
||||
name: QMC5883L Field Strength Z
|
||||
heading:
|
||||
name: QMC5883L Heading
|
||||
range: 800uT
|
||||
oversampling: 256x
|
||||
update_interval: 15s
|
19
tests/components/qmc5883l/test.esp32.yaml
Normal file
19
tests/components/qmc5883l/test.esp32.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_qmc5883l
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: qmc5883l
|
||||
address: 0x0D
|
||||
field_strength_x:
|
||||
name: QMC5883L Field Strength X
|
||||
field_strength_y:
|
||||
name: QMC5883L Field Strength Y
|
||||
field_strength_z:
|
||||
name: QMC5883L Field Strength Z
|
||||
heading:
|
||||
name: QMC5883L Heading
|
||||
range: 800uT
|
||||
oversampling: 256x
|
||||
update_interval: 15s
|
19
tests/components/qmc5883l/test.esp8266.yaml
Normal file
19
tests/components/qmc5883l/test.esp8266.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_qmc5883l
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: qmc5883l
|
||||
address: 0x0D
|
||||
field_strength_x:
|
||||
name: QMC5883L Field Strength X
|
||||
field_strength_y:
|
||||
name: QMC5883L Field Strength Y
|
||||
field_strength_z:
|
||||
name: QMC5883L Field Strength Z
|
||||
heading:
|
||||
name: QMC5883L Heading
|
||||
range: 800uT
|
||||
oversampling: 256x
|
||||
update_interval: 15s
|
19
tests/components/qmc5883l/test.rp2040.yaml
Normal file
19
tests/components/qmc5883l/test.rp2040.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_qmc5883l
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: qmc5883l
|
||||
address: 0x0D
|
||||
field_strength_x:
|
||||
name: QMC5883L Field Strength X
|
||||
field_strength_y:
|
||||
name: QMC5883L Field Strength Y
|
||||
field_strength_z:
|
||||
name: QMC5883L Field Strength Z
|
||||
heading:
|
||||
name: QMC5883L Heading
|
||||
range: 800uT
|
||||
oversampling: 256x
|
||||
update_interval: 15s
|
16
tests/components/qmp6988/test.esp32-c3-idf.yaml
Normal file
16
tests/components/qmp6988/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
i2c:
|
||||
- id: i2c_qmp6988
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: qmp6988
|
||||
temperature:
|
||||
name: QMP6988 Temperature
|
||||
oversampling: 32x
|
||||
pressure:
|
||||
name: QMP6988 Pressure
|
||||
oversampling: 2x
|
||||
address: 0x70
|
||||
update_interval: 30s
|
||||
iir_filter: 16x
|
16
tests/components/qmp6988/test.esp32-c3.yaml
Normal file
16
tests/components/qmp6988/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
i2c:
|
||||
- id: i2c_qmp6988
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: qmp6988
|
||||
temperature:
|
||||
name: QMP6988 Temperature
|
||||
oversampling: 32x
|
||||
pressure:
|
||||
name: QMP6988 Pressure
|
||||
oversampling: 2x
|
||||
address: 0x70
|
||||
update_interval: 30s
|
||||
iir_filter: 16x
|
16
tests/components/qmp6988/test.esp32-idf.yaml
Normal file
16
tests/components/qmp6988/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
i2c:
|
||||
- id: i2c_qmp6988
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: qmp6988
|
||||
temperature:
|
||||
name: QMP6988 Temperature
|
||||
oversampling: 32x
|
||||
pressure:
|
||||
name: QMP6988 Pressure
|
||||
oversampling: 2x
|
||||
address: 0x70
|
||||
update_interval: 30s
|
||||
iir_filter: 16x
|
16
tests/components/qmp6988/test.esp32.yaml
Normal file
16
tests/components/qmp6988/test.esp32.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
i2c:
|
||||
- id: i2c_qmp6988
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: qmp6988
|
||||
temperature:
|
||||
name: QMP6988 Temperature
|
||||
oversampling: 32x
|
||||
pressure:
|
||||
name: QMP6988 Pressure
|
||||
oversampling: 2x
|
||||
address: 0x70
|
||||
update_interval: 30s
|
||||
iir_filter: 16x
|
16
tests/components/qmp6988/test.esp8266.yaml
Normal file
16
tests/components/qmp6988/test.esp8266.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
i2c:
|
||||
- id: i2c_qmp6988
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: qmp6988
|
||||
temperature:
|
||||
name: QMP6988 Temperature
|
||||
oversampling: 32x
|
||||
pressure:
|
||||
name: QMP6988 Pressure
|
||||
oversampling: 2x
|
||||
address: 0x70
|
||||
update_interval: 30s
|
||||
iir_filter: 16x
|
16
tests/components/qmp6988/test.rp2040.yaml
Normal file
16
tests/components/qmp6988/test.rp2040.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
i2c:
|
||||
- id: i2c_qmp6988
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: qmp6988
|
||||
temperature:
|
||||
name: QMP6988 Temperature
|
||||
oversampling: 32x
|
||||
pressure:
|
||||
name: QMP6988 Pressure
|
||||
oversampling: 2x
|
||||
address: 0x70
|
||||
update_interval: 30s
|
||||
iir_filter: 16x
|
17
tests/components/qr_code/test.esp32-c3-idf.yaml
Normal file
17
tests/components/qr_code/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
|
||||
qr_code:
|
||||
- id: homepage_qr
|
||||
value: https://esphome.io/index.html
|
17
tests/components/qr_code/test.esp32-c3.yaml
Normal file
17
tests/components/qr_code/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
|
||||
qr_code:
|
||||
- id: homepage_qr
|
||||
value: https://esphome.io/index.html
|
17
tests/components/qr_code/test.esp32-idf.yaml
Normal file
17
tests/components/qr_code/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
|
||||
qr_code:
|
||||
- id: homepage_qr
|
||||
value: https://esphome.io/index.html
|
17
tests/components/qr_code/test.esp32.yaml
Normal file
17
tests/components/qr_code/test.esp32.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
|
||||
qr_code:
|
||||
- id: homepage_qr
|
||||
value: https://esphome.io/index.html
|
17
tests/components/qr_code/test.esp8266.yaml
Normal file
17
tests/components/qr_code/test.esp8266.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
|
||||
qr_code:
|
||||
- id: homepage_qr
|
||||
value: https://esphome.io/index.html
|
17
tests/components/qr_code/test.rp2040.yaml
Normal file
17
tests/components/qr_code/test.rp2040.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
|
||||
qr_code:
|
||||
- id: homepage_qr
|
||||
value: https://esphome.io/index.html
|
8
tests/components/qwiic_pir/test.esp32-c3-idf.yaml
Normal file
8
tests/components/qwiic_pir/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
i2c:
|
||||
- id: i2c_qwiic_pir
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
binary_sensor:
|
||||
- platform: qwiic_pir
|
||||
name: Qwiic PIR Motion Sensor
|
8
tests/components/qwiic_pir/test.esp32-c3.yaml
Normal file
8
tests/components/qwiic_pir/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
i2c:
|
||||
- id: i2c_qwiic_pir
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
binary_sensor:
|
||||
- platform: qwiic_pir
|
||||
name: Qwiic PIR Motion Sensor
|
8
tests/components/qwiic_pir/test.esp32-idf.yaml
Normal file
8
tests/components/qwiic_pir/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
i2c:
|
||||
- id: i2c_qwiic_pir
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
binary_sensor:
|
||||
- platform: qwiic_pir
|
||||
name: Qwiic PIR Motion Sensor
|
8
tests/components/qwiic_pir/test.esp32.yaml
Normal file
8
tests/components/qwiic_pir/test.esp32.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
i2c:
|
||||
- id: i2c_qwiic_pir
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
binary_sensor:
|
||||
- platform: qwiic_pir
|
||||
name: Qwiic PIR Motion Sensor
|
8
tests/components/qwiic_pir/test.esp8266.yaml
Normal file
8
tests/components/qwiic_pir/test.esp8266.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
i2c:
|
||||
- id: i2c_qwiic_pir
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
binary_sensor:
|
||||
- platform: qwiic_pir
|
||||
name: Qwiic PIR Motion Sensor
|
8
tests/components/qwiic_pir/test.rp2040.yaml
Normal file
8
tests/components/qwiic_pir/test.rp2040.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
i2c:
|
||||
- id: i2c_qwiic_pir
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
binary_sensor:
|
||||
- platform: qwiic_pir
|
||||
name: Qwiic PIR Motion Sensor
|
Loading…
Reference in a new issue