mirror of
https://github.com/esphome/esphome.git
synced 2026-10-10 05:23:07 +00:00
35 lines
602 B
YAML
35 lines
602 B
YAML
xl9535:
|
|
- id: xl9535_hub
|
|
i2c_id: i2c_bus
|
|
address: 0x20
|
|
- id: xl9535_hub_2
|
|
i2c_id: i2c_bus
|
|
address: 0x21
|
|
|
|
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
|
|
- platform: gpio
|
|
name: XL9535 Pin 1 By Address
|
|
pin:
|
|
xl9535:
|
|
address: 0x21
|
|
number: 1
|
|
mode:
|
|
input: true
|
|
inverted: false
|