1
0
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:
Keith Burzinski
2024-03-18 18:49:00 -05:00
committed by GitHub
parent d5a8bea8e9
commit 95443a4354
126 changed files with 1568 additions and 0 deletions

View 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

View 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

View 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

View 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

View 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

View 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