mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Add some components to the new testing framework (S part 1) (#6224)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
14
tests/components/sds011/test.esp32-c3-idf.yaml
Normal file
14
tests/components/sds011/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
uart:
|
||||
- id: uart_sdm_sds011
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 115200
|
||||
|
||||
sensor:
|
||||
- platform: sds011
|
||||
pm_2_5:
|
||||
name: SDS011 PM2.5
|
||||
pm_10_0:
|
||||
name: SDS011 PM10.0
|
||||
rx_only: false
|
||||
update_interval: 5min
|
14
tests/components/sds011/test.esp32-c3.yaml
Normal file
14
tests/components/sds011/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
uart:
|
||||
- id: uart_sdm_sds011
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 115200
|
||||
|
||||
sensor:
|
||||
- platform: sds011
|
||||
pm_2_5:
|
||||
name: SDS011 PM2.5
|
||||
pm_10_0:
|
||||
name: SDS011 PM10.0
|
||||
rx_only: false
|
||||
update_interval: 5min
|
14
tests/components/sds011/test.esp32-idf.yaml
Normal file
14
tests/components/sds011/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
uart:
|
||||
- id: uart_sdm_sds011
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 115200
|
||||
|
||||
sensor:
|
||||
- platform: sds011
|
||||
pm_2_5:
|
||||
name: SDS011 PM2.5
|
||||
pm_10_0:
|
||||
name: SDS011 PM10.0
|
||||
rx_only: false
|
||||
update_interval: 5min
|
14
tests/components/sds011/test.esp32.yaml
Normal file
14
tests/components/sds011/test.esp32.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
uart:
|
||||
- id: uart_sdm_sds011
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 115200
|
||||
|
||||
sensor:
|
||||
- platform: sds011
|
||||
pm_2_5:
|
||||
name: SDS011 PM2.5
|
||||
pm_10_0:
|
||||
name: SDS011 PM10.0
|
||||
rx_only: false
|
||||
update_interval: 5min
|
14
tests/components/sds011/test.esp8266.yaml
Normal file
14
tests/components/sds011/test.esp8266.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
uart:
|
||||
- id: uart_sdm_sds011
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 115200
|
||||
|
||||
sensor:
|
||||
- platform: sds011
|
||||
pm_2_5:
|
||||
name: SDS011 PM2.5
|
||||
pm_10_0:
|
||||
name: SDS011 PM10.0
|
||||
rx_only: false
|
||||
update_interval: 5min
|
14
tests/components/sds011/test.rp2040.yaml
Normal file
14
tests/components/sds011/test.rp2040.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
uart:
|
||||
- id: uart_sdm_sds011
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 115200
|
||||
|
||||
sensor:
|
||||
- platform: sds011
|
||||
pm_2_5:
|
||||
name: SDS011 PM2.5
|
||||
pm_10_0:
|
||||
name: SDS011 PM10.0
|
||||
rx_only: false
|
||||
update_interval: 5min
|
Reference in New Issue
Block a user