1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-16 00:33:54 +01:00
Files
esphome/tests/components/mcp23017/common.yaml
2025-10-12 07:21:45 +13: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