mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
[CI] Consolidate some tests (M) (#8202)
This commit is contained in:
19
tests/components/max6956/common.yaml
Normal file
19
tests/components/max6956/common.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
i2c:
|
||||
- id: i2c_max6956
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
|
||||
max6956:
|
||||
- id: max6956_1
|
||||
address: 0x40
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: Max Input Pin
|
||||
pin:
|
||||
max6956: max6956_1
|
||||
number: 4
|
||||
mode:
|
||||
input: true
|
||||
pullup: true
|
||||
inverted: false
|
@@ -1,19 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_max6956
|
||||
scl: 16
|
||||
sda: 17
|
||||
substitutions:
|
||||
scl_pin: GPIO16
|
||||
sda_pin: GPIO17
|
||||
|
||||
max6956:
|
||||
- id: max6956_1
|
||||
address: 0x40
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: Max Input Pin 4
|
||||
pin:
|
||||
max6956: max6956_1
|
||||
number: 4
|
||||
mode:
|
||||
input: true
|
||||
pullup: true
|
||||
inverted: false
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,19 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_max6956
|
||||
scl: 5
|
||||
sda: 4
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
max6956:
|
||||
- id: max6956_1
|
||||
address: 0x40
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: Max Input Pin 4
|
||||
pin:
|
||||
max6956: max6956_1
|
||||
number: 4
|
||||
mode:
|
||||
input: true
|
||||
pullup: true
|
||||
inverted: false
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,19 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_max6956
|
||||
scl: 5
|
||||
sda: 4
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
max6956:
|
||||
- id: max6956_1
|
||||
address: 0x40
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: Max Input Pin 4
|
||||
pin:
|
||||
max6956: max6956_1
|
||||
number: 4
|
||||
mode:
|
||||
input: true
|
||||
pullup: true
|
||||
inverted: false
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,19 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_max6956
|
||||
scl: 16
|
||||
sda: 17
|
||||
substitutions:
|
||||
scl_pin: GPIO16
|
||||
sda_pin: GPIO17
|
||||
|
||||
max6956:
|
||||
- id: max6956_1
|
||||
address: 0x40
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: Max Input Pin 4
|
||||
pin:
|
||||
max6956: max6956_1
|
||||
number: 4
|
||||
mode:
|
||||
input: true
|
||||
pullup: true
|
||||
inverted: false
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,19 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_max6956
|
||||
scl: 5
|
||||
sda: 4
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
max6956:
|
||||
- id: max6956_1
|
||||
address: 0x40
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: Max Input Pin 4
|
||||
pin:
|
||||
max6956: max6956_1
|
||||
number: 4
|
||||
mode:
|
||||
input: true
|
||||
pullup: true
|
||||
inverted: false
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,19 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_max6956
|
||||
scl: 5
|
||||
sda: 4
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
max6956:
|
||||
- id: max6956_1
|
||||
address: 0x40
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: Max Input Pin 4
|
||||
pin:
|
||||
max6956: max6956_1
|
||||
number: 4
|
||||
mode:
|
||||
input: true
|
||||
pullup: true
|
||||
inverted: false
|
||||
<<: !include common.yaml
|
||||
|
Reference in New Issue
Block a user