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 (D) (#6175)
This commit is contained in:
12
tests/components/dht12/test.esp32-c3-idf.yaml
Normal file
12
tests/components/dht12/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
i2c:
|
||||
- id: i2c_dht12
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: dht12
|
||||
temperature:
|
||||
name: DHT12 Temperature
|
||||
humidity:
|
||||
name: DHT12 Humidity
|
||||
update_interval: 15s
|
12
tests/components/dht12/test.esp32-c3.yaml
Normal file
12
tests/components/dht12/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
i2c:
|
||||
- id: i2c_dht12
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: dht12
|
||||
temperature:
|
||||
name: DHT12 Temperature
|
||||
humidity:
|
||||
name: DHT12 Humidity
|
||||
update_interval: 15s
|
12
tests/components/dht12/test.esp32-idf.yaml
Normal file
12
tests/components/dht12/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
i2c:
|
||||
- id: i2c_dht12
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: dht12
|
||||
temperature:
|
||||
name: DHT12 Temperature
|
||||
humidity:
|
||||
name: DHT12 Humidity
|
||||
update_interval: 15s
|
12
tests/components/dht12/test.esp32.yaml
Normal file
12
tests/components/dht12/test.esp32.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
i2c:
|
||||
- id: i2c_dht12
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: dht12
|
||||
temperature:
|
||||
name: DHT12 Temperature
|
||||
humidity:
|
||||
name: DHT12 Humidity
|
||||
update_interval: 15s
|
12
tests/components/dht12/test.esp8266.yaml
Normal file
12
tests/components/dht12/test.esp8266.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
i2c:
|
||||
- id: i2c_dht12
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: dht12
|
||||
temperature:
|
||||
name: DHT12 Temperature
|
||||
humidity:
|
||||
name: DHT12 Humidity
|
||||
update_interval: 15s
|
12
tests/components/dht12/test.rp2040.yaml
Normal file
12
tests/components/dht12/test.rp2040.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
i2c:
|
||||
- id: i2c_dht12
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: dht12
|
||||
temperature:
|
||||
name: DHT12 Temperature
|
||||
humidity:
|
||||
name: DHT12 Humidity
|
||||
update_interval: 15s
|
Reference in New Issue
Block a user