mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 10:52:19 +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:
20
tests/components/scd30/test.esp32-c3-idf.yaml
Normal file
20
tests/components/scd30/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
i2c:
|
||||
- id: i2c_scd30
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: scd30
|
||||
co2:
|
||||
name: SCD30 CO2
|
||||
temperature:
|
||||
id: scd30_temperature
|
||||
name: SCD30 Temperature
|
||||
humidity:
|
||||
name: SCD30 Humidity
|
||||
address: 0x61
|
||||
automatic_self_calibration: true
|
||||
altitude_compensation: 10m
|
||||
ambient_pressure_compensation: 961mBar
|
||||
temperature_offset: 4.2C
|
||||
update_interval: 15s
|
20
tests/components/scd30/test.esp32-c3.yaml
Normal file
20
tests/components/scd30/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
i2c:
|
||||
- id: i2c_scd30
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: scd30
|
||||
co2:
|
||||
name: SCD30 CO2
|
||||
temperature:
|
||||
id: scd30_temperature
|
||||
name: SCD30 Temperature
|
||||
humidity:
|
||||
name: SCD30 Humidity
|
||||
address: 0x61
|
||||
automatic_self_calibration: true
|
||||
altitude_compensation: 10m
|
||||
ambient_pressure_compensation: 961mBar
|
||||
temperature_offset: 4.2C
|
||||
update_interval: 15s
|
20
tests/components/scd30/test.esp32-idf.yaml
Normal file
20
tests/components/scd30/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
i2c:
|
||||
- id: i2c_scd30
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: scd30
|
||||
co2:
|
||||
name: SCD30 CO2
|
||||
temperature:
|
||||
id: scd30_temperature
|
||||
name: SCD30 Temperature
|
||||
humidity:
|
||||
name: SCD30 Humidity
|
||||
address: 0x61
|
||||
automatic_self_calibration: true
|
||||
altitude_compensation: 10m
|
||||
ambient_pressure_compensation: 961mBar
|
||||
temperature_offset: 4.2C
|
||||
update_interval: 15s
|
20
tests/components/scd30/test.esp32.yaml
Normal file
20
tests/components/scd30/test.esp32.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
i2c:
|
||||
- id: i2c_scd30
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: scd30
|
||||
co2:
|
||||
name: SCD30 CO2
|
||||
temperature:
|
||||
id: scd30_temperature
|
||||
name: SCD30 Temperature
|
||||
humidity:
|
||||
name: SCD30 Humidity
|
||||
address: 0x61
|
||||
automatic_self_calibration: true
|
||||
altitude_compensation: 10m
|
||||
ambient_pressure_compensation: 961mBar
|
||||
temperature_offset: 4.2C
|
||||
update_interval: 15s
|
20
tests/components/scd30/test.esp8266.yaml
Normal file
20
tests/components/scd30/test.esp8266.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
i2c:
|
||||
- id: i2c_scd30
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: scd30
|
||||
co2:
|
||||
name: SCD30 CO2
|
||||
temperature:
|
||||
id: scd30_temperature
|
||||
name: SCD30 Temperature
|
||||
humidity:
|
||||
name: SCD30 Humidity
|
||||
address: 0x61
|
||||
automatic_self_calibration: true
|
||||
altitude_compensation: 10m
|
||||
ambient_pressure_compensation: 961mBar
|
||||
temperature_offset: 4.2C
|
||||
update_interval: 15s
|
20
tests/components/scd30/test.rp2040.yaml
Normal file
20
tests/components/scd30/test.rp2040.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
i2c:
|
||||
- id: i2c_scd30
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: scd30
|
||||
co2:
|
||||
name: SCD30 CO2
|
||||
temperature:
|
||||
id: scd30_temperature
|
||||
name: SCD30 Temperature
|
||||
humidity:
|
||||
name: SCD30 Humidity
|
||||
address: 0x61
|
||||
automatic_self_calibration: true
|
||||
altitude_compensation: 10m
|
||||
ambient_pressure_compensation: 961mBar
|
||||
temperature_offset: 4.2C
|
||||
update_interval: 15s
|
Reference in New Issue
Block a user