mirror of
https://github.com/esphome/esphome.git
synced 2026-06-24 11:25:35 +00:00
28 lines
472 B
YAML
28 lines
472 B
YAML
pi4ioe5v6408:
|
|
- i2c_id: i2c_bus
|
|
id: pi4ioe1
|
|
address: 0x44
|
|
- i2c_id: i2c_bus
|
|
id: pi4ioe1_int
|
|
address: 0x45
|
|
interrupt_pin: ${interrupt_pin}
|
|
|
|
switch:
|
|
- platform: gpio
|
|
id: pi4ioe5v6408_switch1
|
|
pin:
|
|
pi4ioe5v6408: pi4ioe1
|
|
number: 0
|
|
|
|
binary_sensor:
|
|
- platform: gpio
|
|
id: sensor1
|
|
pin:
|
|
pi4ioe5v6408: pi4ioe1
|
|
number: 1
|
|
- platform: gpio
|
|
id: sensor1_int
|
|
pin:
|
|
pi4ioe5v6408: pi4ioe1_int
|
|
number: 1
|