mirror of
https://github.com/esphome/esphome.git
synced 2026-05-28 21:59:59 +08:00
Add binary sensors on interrupt-enabled hubs to exercise pin_mode path
This commit is contained in:
@@ -13,6 +13,12 @@ binary_sensor:
|
||||
mcp23xxx: mcp23008_hub
|
||||
number: 0
|
||||
mode: INPUT
|
||||
- platform: gpio
|
||||
id: mcp23008_binary_sensor_int
|
||||
pin:
|
||||
mcp23xxx: mcp23008_hub_int
|
||||
number: 0
|
||||
mode: INPUT
|
||||
|
||||
switch:
|
||||
- platform: gpio
|
||||
|
||||
Reference in New Issue
Block a user