mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 11:22:24 +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:
27
tests/components/sgp4x/test.esp32-c3-idf.yaml
Normal file
27
tests/components/sgp4x/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
i2c:
|
||||
- id: i2c_sgp4x
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: sgp4x
|
||||
voc:
|
||||
name: VOC Index
|
||||
id: sgp40_voc_index
|
||||
algorithm_tuning:
|
||||
index_offset: 100
|
||||
learning_time_offset_hours: 12
|
||||
learning_time_gain_hours: 12
|
||||
gating_max_duration_minutes: 180
|
||||
std_initial: 50
|
||||
gain_factor: 230
|
||||
nox:
|
||||
name: NOx
|
||||
algorithm_tuning:
|
||||
index_offset: 100
|
||||
learning_time_offset_hours: 12
|
||||
learning_time_gain_hours: 12
|
||||
gating_max_duration_minutes: 180
|
||||
std_initial: 50
|
||||
gain_factor: 230
|
||||
update_interval: 5s
|
27
tests/components/sgp4x/test.esp32-c3.yaml
Normal file
27
tests/components/sgp4x/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
i2c:
|
||||
- id: i2c_sgp4x
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: sgp4x
|
||||
voc:
|
||||
name: VOC Index
|
||||
id: sgp40_voc_index
|
||||
algorithm_tuning:
|
||||
index_offset: 100
|
||||
learning_time_offset_hours: 12
|
||||
learning_time_gain_hours: 12
|
||||
gating_max_duration_minutes: 180
|
||||
std_initial: 50
|
||||
gain_factor: 230
|
||||
nox:
|
||||
name: NOx
|
||||
algorithm_tuning:
|
||||
index_offset: 100
|
||||
learning_time_offset_hours: 12
|
||||
learning_time_gain_hours: 12
|
||||
gating_max_duration_minutes: 180
|
||||
std_initial: 50
|
||||
gain_factor: 230
|
||||
update_interval: 5s
|
27
tests/components/sgp4x/test.esp32-idf.yaml
Normal file
27
tests/components/sgp4x/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
i2c:
|
||||
- id: i2c_sgp4x
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: sgp4x
|
||||
voc:
|
||||
name: VOC Index
|
||||
id: sgp40_voc_index
|
||||
algorithm_tuning:
|
||||
index_offset: 100
|
||||
learning_time_offset_hours: 12
|
||||
learning_time_gain_hours: 12
|
||||
gating_max_duration_minutes: 180
|
||||
std_initial: 50
|
||||
gain_factor: 230
|
||||
nox:
|
||||
name: NOx
|
||||
algorithm_tuning:
|
||||
index_offset: 100
|
||||
learning_time_offset_hours: 12
|
||||
learning_time_gain_hours: 12
|
||||
gating_max_duration_minutes: 180
|
||||
std_initial: 50
|
||||
gain_factor: 230
|
||||
update_interval: 5s
|
27
tests/components/sgp4x/test.esp32.yaml
Normal file
27
tests/components/sgp4x/test.esp32.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
i2c:
|
||||
- id: i2c_sgp4x
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: sgp4x
|
||||
voc:
|
||||
name: VOC Index
|
||||
id: sgp40_voc_index
|
||||
algorithm_tuning:
|
||||
index_offset: 100
|
||||
learning_time_offset_hours: 12
|
||||
learning_time_gain_hours: 12
|
||||
gating_max_duration_minutes: 180
|
||||
std_initial: 50
|
||||
gain_factor: 230
|
||||
nox:
|
||||
name: NOx
|
||||
algorithm_tuning:
|
||||
index_offset: 100
|
||||
learning_time_offset_hours: 12
|
||||
learning_time_gain_hours: 12
|
||||
gating_max_duration_minutes: 180
|
||||
std_initial: 50
|
||||
gain_factor: 230
|
||||
update_interval: 5s
|
27
tests/components/sgp4x/test.esp8266.yaml
Normal file
27
tests/components/sgp4x/test.esp8266.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
i2c:
|
||||
- id: i2c_sgp4x
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: sgp4x
|
||||
voc:
|
||||
name: VOC Index
|
||||
id: sgp40_voc_index
|
||||
algorithm_tuning:
|
||||
index_offset: 100
|
||||
learning_time_offset_hours: 12
|
||||
learning_time_gain_hours: 12
|
||||
gating_max_duration_minutes: 180
|
||||
std_initial: 50
|
||||
gain_factor: 230
|
||||
nox:
|
||||
name: NOx
|
||||
algorithm_tuning:
|
||||
index_offset: 100
|
||||
learning_time_offset_hours: 12
|
||||
learning_time_gain_hours: 12
|
||||
gating_max_duration_minutes: 180
|
||||
std_initial: 50
|
||||
gain_factor: 230
|
||||
update_interval: 5s
|
27
tests/components/sgp4x/test.rp2040.yaml
Normal file
27
tests/components/sgp4x/test.rp2040.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
i2c:
|
||||
- id: i2c_sgp4x
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: sgp4x
|
||||
voc:
|
||||
name: VOC Index
|
||||
id: sgp40_voc_index
|
||||
algorithm_tuning:
|
||||
index_offset: 100
|
||||
learning_time_offset_hours: 12
|
||||
learning_time_gain_hours: 12
|
||||
gating_max_duration_minutes: 180
|
||||
std_initial: 50
|
||||
gain_factor: 230
|
||||
nox:
|
||||
name: NOx
|
||||
algorithm_tuning:
|
||||
index_offset: 100
|
||||
learning_time_offset_hours: 12
|
||||
learning_time_gain_hours: 12
|
||||
gating_max_duration_minutes: 180
|
||||
std_initial: 50
|
||||
gain_factor: 230
|
||||
update_interval: 5s
|
Reference in New Issue
Block a user