mirror of
https://github.com/esphome/esphome.git
synced 2025-10-12 14:53:49 +01:00
19 lines
292 B
YAML
19 lines
292 B
YAML
mcp23008:
|
|
id: mcp23008_hub
|
|
|
|
binary_sensor:
|
|
- platform: gpio
|
|
id: mcp23008_binary_sensor
|
|
pin:
|
|
mcp23xxx: mcp23008_hub
|
|
number: 0
|
|
mode: INPUT
|
|
|
|
switch:
|
|
- platform: gpio
|
|
id: mcp23008_switch
|
|
pin:
|
|
mcp23xxx: mcp23008_hub
|
|
number: 1
|
|
mode: OUTPUT
|