mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 10:52:19 +01:00
[CI] Consolidate some tests (T) (#8208)
This commit is contained in:
50
tests/components/tlc59208f/common.yaml
Normal file
50
tests/components/tlc59208f/common.yaml
Normal file
@@ -0,0 +1,50 @@
|
||||
i2c:
|
||||
- id: i2c_tlc59208f
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
|
||||
tlc59208f:
|
||||
- address: 0x20
|
||||
id: tlc59208f_1
|
||||
- address: 0x22
|
||||
id: tlc59208f_2
|
||||
- address: 0x24
|
||||
id: tlc59208f_3
|
||||
|
||||
output:
|
||||
- platform: tlc59208f
|
||||
id: tlc_0
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_1
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_2
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_3
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_4
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_5
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_6
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_7
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_8
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_3
|
@@ -1,50 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_tlc59208f
|
||||
scl: 16
|
||||
sda: 17
|
||||
substitutions:
|
||||
scl_pin: GPIO16
|
||||
sda_pin: GPIO17
|
||||
|
||||
tlc59208f:
|
||||
- address: 0x20
|
||||
id: tlc59208f_1
|
||||
- address: 0x22
|
||||
id: tlc59208f_2
|
||||
- address: 0x24
|
||||
id: tlc59208f_3
|
||||
|
||||
output:
|
||||
- platform: tlc59208f
|
||||
id: tlc_0
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_1
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_2
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_3
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_4
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_5
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_6
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_7
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_8
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_3
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,50 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_tlc59208f
|
||||
scl: 5
|
||||
sda: 4
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
tlc59208f:
|
||||
- address: 0x20
|
||||
id: tlc59208f_1
|
||||
- address: 0x22
|
||||
id: tlc59208f_2
|
||||
- address: 0x24
|
||||
id: tlc59208f_3
|
||||
|
||||
output:
|
||||
- platform: tlc59208f
|
||||
id: tlc_0
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_1
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_2
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_3
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_4
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_5
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_6
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_7
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_8
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_3
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,50 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_tlc59208f
|
||||
scl: 5
|
||||
sda: 4
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
tlc59208f:
|
||||
- address: 0x20
|
||||
id: tlc59208f_1
|
||||
- address: 0x22
|
||||
id: tlc59208f_2
|
||||
- address: 0x24
|
||||
id: tlc59208f_3
|
||||
|
||||
output:
|
||||
- platform: tlc59208f
|
||||
id: tlc_0
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_1
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_2
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_3
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_4
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_5
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_6
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_7
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_8
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_3
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,50 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_tlc59208f
|
||||
scl: 16
|
||||
sda: 17
|
||||
substitutions:
|
||||
scl_pin: GPIO16
|
||||
sda_pin: GPIO17
|
||||
|
||||
tlc59208f:
|
||||
- address: 0x20
|
||||
id: tlc59208f_1
|
||||
- address: 0x22
|
||||
id: tlc59208f_2
|
||||
- address: 0x24
|
||||
id: tlc59208f_3
|
||||
|
||||
output:
|
||||
- platform: tlc59208f
|
||||
id: tlc_0
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_1
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_2
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_3
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_4
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_5
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_6
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_7
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_8
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_3
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,50 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_tlc59208f
|
||||
scl: 5
|
||||
sda: 4
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
tlc59208f:
|
||||
- address: 0x20
|
||||
id: tlc59208f_1
|
||||
- address: 0x22
|
||||
id: tlc59208f_2
|
||||
- address: 0x24
|
||||
id: tlc59208f_3
|
||||
|
||||
output:
|
||||
- platform: tlc59208f
|
||||
id: tlc_0
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_1
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_2
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_3
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_4
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_5
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_6
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_7
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_8
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_3
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,50 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_tlc59208f
|
||||
scl: 5
|
||||
sda: 4
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
tlc59208f:
|
||||
- address: 0x20
|
||||
id: tlc59208f_1
|
||||
- address: 0x22
|
||||
id: tlc59208f_2
|
||||
- address: 0x24
|
||||
id: tlc59208f_3
|
||||
|
||||
output:
|
||||
- platform: tlc59208f
|
||||
id: tlc_0
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_1
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_2
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_3
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_4
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_5
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_6
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_7
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_8
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_3
|
||||
<<: !include common.yaml
|
||||
|
Reference in New Issue
Block a user