1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-12 14:53:49 +01:00
Files
esphome/tests/components/mcp23017/common.yaml
J. Nick Koston e8adcb539c common
2025-10-08 11:20:48 -10:00

19 lines
292 B
YAML

mcp23017:
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