mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 06:33:51 +00:00
Add some components to the new testing framework (X,Y,Z) (#6233)
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user