mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
[CI] Consolidate some tests (T) (#8208)
This commit is contained in:
21
tests/components/tcs34725/common.yaml
Normal file
21
tests/components/tcs34725/common.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
i2c:
|
||||
- id: i2c_tcs34725
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
|
||||
sensor:
|
||||
- platform: tcs34725
|
||||
red_channel:
|
||||
name: Red Channel
|
||||
green_channel:
|
||||
name: Green Channel
|
||||
blue_channel:
|
||||
name: Blue Channel
|
||||
clear_channel:
|
||||
name: Clear Channel
|
||||
illuminance:
|
||||
name: Illuminance
|
||||
color_temperature:
|
||||
name: Color Temperature
|
||||
integration_time: 614ms
|
||||
gain: 60x
|
@@ -1,21 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_tcs34725
|
||||
scl: 16
|
||||
sda: 17
|
||||
substitutions:
|
||||
scl_pin: GPIO16
|
||||
sda_pin: GPIO17
|
||||
|
||||
sensor:
|
||||
- platform: tcs34725
|
||||
red_channel:
|
||||
name: Red Channel
|
||||
green_channel:
|
||||
name: Green Channel
|
||||
blue_channel:
|
||||
name: Blue Channel
|
||||
clear_channel:
|
||||
name: Clear Channel
|
||||
illuminance:
|
||||
name: Illuminance
|
||||
color_temperature:
|
||||
name: Color Temperature
|
||||
integration_time: 614ms
|
||||
gain: 60x
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,21 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_tcs34725
|
||||
scl: 5
|
||||
sda: 4
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
sensor:
|
||||
- platform: tcs34725
|
||||
red_channel:
|
||||
name: Red Channel
|
||||
green_channel:
|
||||
name: Green Channel
|
||||
blue_channel:
|
||||
name: Blue Channel
|
||||
clear_channel:
|
||||
name: Clear Channel
|
||||
illuminance:
|
||||
name: Illuminance
|
||||
color_temperature:
|
||||
name: Color Temperature
|
||||
integration_time: 614ms
|
||||
gain: 60x
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,21 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_tcs34725
|
||||
scl: 5
|
||||
sda: 4
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
sensor:
|
||||
- platform: tcs34725
|
||||
red_channel:
|
||||
name: Red Channel
|
||||
green_channel:
|
||||
name: Green Channel
|
||||
blue_channel:
|
||||
name: Blue Channel
|
||||
clear_channel:
|
||||
name: Clear Channel
|
||||
illuminance:
|
||||
name: Illuminance
|
||||
color_temperature:
|
||||
name: Color Temperature
|
||||
integration_time: 614ms
|
||||
gain: 60x
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,21 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_tcs34725
|
||||
scl: 16
|
||||
sda: 17
|
||||
substitutions:
|
||||
scl_pin: GPIO16
|
||||
sda_pin: GPIO17
|
||||
|
||||
sensor:
|
||||
- platform: tcs34725
|
||||
red_channel:
|
||||
name: Red Channel
|
||||
green_channel:
|
||||
name: Green Channel
|
||||
blue_channel:
|
||||
name: Blue Channel
|
||||
clear_channel:
|
||||
name: Clear Channel
|
||||
illuminance:
|
||||
name: Illuminance
|
||||
color_temperature:
|
||||
name: Color Temperature
|
||||
integration_time: 614ms
|
||||
gain: 60x
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,21 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_tcs34725
|
||||
scl: 5
|
||||
sda: 4
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
sensor:
|
||||
- platform: tcs34725
|
||||
red_channel:
|
||||
name: Red Channel
|
||||
green_channel:
|
||||
name: Green Channel
|
||||
blue_channel:
|
||||
name: Blue Channel
|
||||
clear_channel:
|
||||
name: Clear Channel
|
||||
illuminance:
|
||||
name: Illuminance
|
||||
color_temperature:
|
||||
name: Color Temperature
|
||||
integration_time: 614ms
|
||||
gain: 60x
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,21 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_tcs34725
|
||||
scl: 5
|
||||
sda: 4
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
sensor:
|
||||
- platform: tcs34725
|
||||
red_channel:
|
||||
name: Red Channel
|
||||
green_channel:
|
||||
name: Green Channel
|
||||
blue_channel:
|
||||
name: Blue Channel
|
||||
clear_channel:
|
||||
name: Clear Channel
|
||||
illuminance:
|
||||
name: Illuminance
|
||||
color_temperature:
|
||||
name: Color Temperature
|
||||
integration_time: 614ms
|
||||
gain: 60x
|
||||
<<: !include common.yaml
|
||||
|
Reference in New Issue
Block a user