mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 14:43:51 +00:00
Add some components to the new testing framework (M part 1) (#6207)
This commit is contained in:
14
tests/components/mhz19/test.esp32-c3-idf.yaml
Normal file
14
tests/components/mhz19/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
uart:
|
||||
- id: uart_mhz19
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: mhz19
|
||||
co2:
|
||||
name: MH-Z19 CO2 Value
|
||||
temperature:
|
||||
name: MH-Z19 Temperature
|
||||
automatic_baseline_calibration: false
|
||||
update_interval: 15s
|
||||
14
tests/components/mhz19/test.esp32-c3.yaml
Normal file
14
tests/components/mhz19/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
uart:
|
||||
- id: uart_mhz19
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: mhz19
|
||||
co2:
|
||||
name: MH-Z19 CO2 Value
|
||||
temperature:
|
||||
name: MH-Z19 Temperature
|
||||
automatic_baseline_calibration: false
|
||||
update_interval: 15s
|
||||
14
tests/components/mhz19/test.esp32-idf.yaml
Normal file
14
tests/components/mhz19/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
uart:
|
||||
- id: uart_mhz19
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: mhz19
|
||||
co2:
|
||||
name: MH-Z19 CO2 Value
|
||||
temperature:
|
||||
name: MH-Z19 Temperature
|
||||
automatic_baseline_calibration: false
|
||||
update_interval: 15s
|
||||
14
tests/components/mhz19/test.esp32.yaml
Normal file
14
tests/components/mhz19/test.esp32.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
uart:
|
||||
- id: uart_mhz19
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: mhz19
|
||||
co2:
|
||||
name: MH-Z19 CO2 Value
|
||||
temperature:
|
||||
name: MH-Z19 Temperature
|
||||
automatic_baseline_calibration: false
|
||||
update_interval: 15s
|
||||
14
tests/components/mhz19/test.esp8266.yaml
Normal file
14
tests/components/mhz19/test.esp8266.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
uart:
|
||||
- id: uart_mhz19
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: mhz19
|
||||
co2:
|
||||
name: MH-Z19 CO2 Value
|
||||
temperature:
|
||||
name: MH-Z19 Temperature
|
||||
automatic_baseline_calibration: false
|
||||
update_interval: 15s
|
||||
14
tests/components/mhz19/test.rp2040.yaml
Normal file
14
tests/components/mhz19/test.rp2040.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
uart:
|
||||
- id: uart_mhz19
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: mhz19
|
||||
co2:
|
||||
name: MH-Z19 CO2 Value
|
||||
temperature:
|
||||
name: MH-Z19 Temperature
|
||||
automatic_baseline_calibration: false
|
||||
update_interval: 15s
|
||||
Reference in New Issue
Block a user