1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-29 22:24:26 +00:00

Add some components to the new testing framework (M part 1) (#6207)

This commit is contained in:
Keith Burzinski
2024-04-22 22:45:12 -05:00
committed by GitHub
parent 057f473a4a
commit 2b215fecc9
151 changed files with 2420 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
i2c:
- id: i2c_mcp23017
scl: 5
sda: 4
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