mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 10:52:19 +01:00
[CI] Consolidate some tests (A) (#8184)
This commit is contained in:
12
tests/components/ags10/common.yaml
Normal file
12
tests/components/ags10/common.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
i2c:
|
||||
- id: i2c_ags10
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
frequency: 10kHz
|
||||
|
||||
sensor:
|
||||
- platform: ags10
|
||||
id: ags10_1
|
||||
tvoc:
|
||||
name: AGS10 TVOC
|
||||
update_interval: 60s
|
@@ -1,12 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_ags10
|
||||
scl: 16
|
||||
sda: 17
|
||||
frequency: 10kHz
|
||||
substitutions:
|
||||
scl_pin: GPIO16
|
||||
sda_pin: GPIO17
|
||||
|
||||
sensor:
|
||||
- platform: ags10
|
||||
id: ags10_1
|
||||
tvoc:
|
||||
name: AGS10 TVOC
|
||||
update_interval: 60s
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,12 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_ags10
|
||||
scl: 5
|
||||
sda: 4
|
||||
frequency: 10kHz
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
sensor:
|
||||
- platform: ags10
|
||||
id: ags10_1
|
||||
tvoc:
|
||||
name: AGS10 TVOC
|
||||
update_interval: 60s
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,12 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_ags10
|
||||
scl: 5
|
||||
sda: 4
|
||||
frequency: 10kHz
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
sensor:
|
||||
- platform: ags10
|
||||
id: ags10_1
|
||||
tvoc:
|
||||
name: AGS10 TVOC
|
||||
update_interval: 60s
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,12 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_ags10
|
||||
scl: 16
|
||||
sda: 17
|
||||
frequency: 10kHz
|
||||
substitutions:
|
||||
scl_pin: GPIO16
|
||||
sda_pin: GPIO17
|
||||
|
||||
sensor:
|
||||
- platform: ags10
|
||||
id: ags10_1
|
||||
tvoc:
|
||||
name: AGS10 TVOC
|
||||
update_interval: 60s
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,12 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_ags10
|
||||
scl: 5
|
||||
sda: 4
|
||||
frequency: 10kHz
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
sensor:
|
||||
- platform: ags10
|
||||
id: ags10_1
|
||||
tvoc:
|
||||
name: AGS10 TVOC
|
||||
update_interval: 60s
|
||||
<<: !include common.yaml
|
||||
|
Reference in New Issue
Block a user