mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 10:52:19 +01:00
Add some components to the new testing framework (M part 1) (#6207)
This commit is contained in:
19
tests/components/max6956/test.esp32-c3-idf.yaml
Normal file
19
tests/components/max6956/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
i2c:
|
||||
- id: i2c_max6956
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
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
|
19
tests/components/max6956/test.esp32-c3.yaml
Normal file
19
tests/components/max6956/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
i2c:
|
||||
- id: i2c_max6956
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
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
|
19
tests/components/max6956/test.esp32-idf.yaml
Normal file
19
tests/components/max6956/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
i2c:
|
||||
- id: i2c_max6956
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
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
|
19
tests/components/max6956/test.esp32.yaml
Normal file
19
tests/components/max6956/test.esp32.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
i2c:
|
||||
- id: i2c_max6956
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
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
|
19
tests/components/max6956/test.esp8266.yaml
Normal file
19
tests/components/max6956/test.esp8266.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
i2c:
|
||||
- id: i2c_max6956
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
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
|
19
tests/components/max6956/test.rp2040.yaml
Normal file
19
tests/components/max6956/test.rp2040.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
i2c:
|
||||
- id: i2c_max6956
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
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
|
Reference in New Issue
Block a user