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

20 lines
310 B
YAML

mcp23017:
i2c_id: i2c_bus
id: mcp23017_hub
binary_sensor:
- platform: gpio
id: mcp23017_binary_sensor
pin:
mcp23xxx: mcp23017_hub
number: 0
mode: INPUT
switch:
- platform: gpio
id: mcp23017_switch
pin:
mcp23xxx: mcp23017_hub
number: 1
mode: OUTPUT