1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-15 16:23:48 +01:00
Files
esphome/tests/components/mcp23016/common.yaml
J. Nick Koston 9353c6aac9 merge a few more
2025-10-09 10:23:26 -10:00

20 lines
310 B
YAML

mcp23016:
i2c_id: i2c_bus
id: mcp23016_hub
binary_sensor:
- platform: gpio
id: mcp23016_binary_sensor
pin:
mcp23016: mcp23016_hub
number: 0
mode: INPUT
switch:
- platform: gpio
id: mcp23016_switch
pin:
mcp23016: mcp23016_hub
number: 1
mode: OUTPUT