mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
Add some components to the new testing framework (X,Y,Z) (#6233)
This commit is contained in:
26
tests/components/xl9535/test.esp32-c3-idf.yaml
Normal file
26
tests/components/xl9535/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
i2c:
|
||||
- id: i2c_xl9535
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
xl9535:
|
||||
- id: xl9535_hub
|
||||
address: 0x20
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 0
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 0
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 17
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 17
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
26
tests/components/xl9535/test.esp32-c3.yaml
Normal file
26
tests/components/xl9535/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
i2c:
|
||||
- id: i2c_xl9535
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
xl9535:
|
||||
- id: xl9535_hub
|
||||
address: 0x20
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 0
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 0
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 17
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 17
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
26
tests/components/xl9535/test.esp32-idf.yaml
Normal file
26
tests/components/xl9535/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
i2c:
|
||||
- id: i2c_xl9535
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
xl9535:
|
||||
- id: xl9535_hub
|
||||
address: 0x20
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 0
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 0
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 17
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 17
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
26
tests/components/xl9535/test.esp32.yaml
Normal file
26
tests/components/xl9535/test.esp32.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
i2c:
|
||||
- id: i2c_xl9535
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
xl9535:
|
||||
- id: xl9535_hub
|
||||
address: 0x20
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 0
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 0
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 17
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 17
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
26
tests/components/xl9535/test.esp8266.yaml
Normal file
26
tests/components/xl9535/test.esp8266.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
i2c:
|
||||
- id: i2c_xl9535
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
xl9535:
|
||||
- id: xl9535_hub
|
||||
address: 0x20
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 0
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 0
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 17
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 17
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
26
tests/components/xl9535/test.rp2040.yaml
Normal file
26
tests/components/xl9535/test.rp2040.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
i2c:
|
||||
- id: i2c_xl9535
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
xl9535:
|
||||
- id: xl9535_hub
|
||||
address: 0x20
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 0
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 0
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 17
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 17
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
Reference in New Issue
Block a user