mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
[CI] Consolidate some tests (N, O, P) (#8204)
This commit is contained in:
17
tests/components/pca6416a/common.yaml
Normal file
17
tests/components/pca6416a/common.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
i2c:
|
||||
- id: i2c_pca6416a
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
|
||||
pca6416a:
|
||||
- id: pca6416a_hub
|
||||
address: 0x21
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: PCA6416A Binary Sensor
|
||||
pin:
|
||||
pca6416a: pca6416a_hub
|
||||
number: 15
|
||||
mode: INPUT
|
||||
inverted: true
|
@@ -1,17 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_pca6416a
|
||||
scl: 16
|
||||
sda: 17
|
||||
substitutions:
|
||||
scl_pin: GPIO16
|
||||
sda_pin: GPIO17
|
||||
|
||||
pca6416a:
|
||||
- id: pca6416a_hub
|
||||
address: 0x21
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: PCA6416A Binary Sensor
|
||||
pin:
|
||||
pca6416a: pca6416a_hub
|
||||
number: 15
|
||||
mode: INPUT
|
||||
inverted: true
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,17 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_pca6416a
|
||||
scl: 5
|
||||
sda: 4
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
pca6416a:
|
||||
- id: pca6416a_hub
|
||||
address: 0x21
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: PCA6416A Binary Sensor
|
||||
pin:
|
||||
pca6416a: pca6416a_hub
|
||||
number: 15
|
||||
mode: INPUT
|
||||
inverted: true
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,17 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_pca6416a
|
||||
scl: 5
|
||||
sda: 4
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
pca6416a:
|
||||
- id: pca6416a_hub
|
||||
address: 0x21
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: PCA6416A Binary Sensor
|
||||
pin:
|
||||
pca6416a: pca6416a_hub
|
||||
number: 15
|
||||
mode: INPUT
|
||||
inverted: true
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,17 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_pca6416a
|
||||
scl: 16
|
||||
sda: 17
|
||||
substitutions:
|
||||
scl_pin: GPIO16
|
||||
sda_pin: GPIO17
|
||||
|
||||
pca6416a:
|
||||
- id: pca6416a_hub
|
||||
address: 0x21
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: PCA6416A Binary Sensor
|
||||
pin:
|
||||
pca6416a: pca6416a_hub
|
||||
number: 15
|
||||
mode: INPUT
|
||||
inverted: true
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,17 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_pca6416a
|
||||
scl: 5
|
||||
sda: 4
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
pca6416a:
|
||||
- id: pca6416a_hub
|
||||
address: 0x21
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: PCA6416A Binary Sensor
|
||||
pin:
|
||||
pca6416a: pca6416a_hub
|
||||
number: 15
|
||||
mode: INPUT
|
||||
inverted: true
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,17 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_pca6416a
|
||||
scl: 5
|
||||
sda: 4
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
pca6416a:
|
||||
- id: pca6416a_hub
|
||||
address: 0x21
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: PCA6416A Binary Sensor
|
||||
pin:
|
||||
pca6416a: pca6416a_hub
|
||||
number: 15
|
||||
mode: INPUT
|
||||
inverted: true
|
||||
<<: !include common.yaml
|
||||
|
Reference in New Issue
Block a user