1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-18 01:33:51 +01:00
Files
esphome/tests/components/mpr121/common.yaml
J. Nick Koston 9353c6aac9 merge a few more
2025-10-09 10:23:26 -10:00

38 lines
597 B
YAML

mpr121:
i2c_id: i2c_bus
id: mpr121_first
address: 0x5A
binary_sensor:
- platform: mpr121
id: touchkey0
name: touchkey0
channel: 0
- platform: mpr121
id: bin1
name: touchkey1
channel: 1
- platform: mpr121
id: bin2
name: touchkey2
channel: 2
- platform: mpr121
id: bin3
name: touchkey3
channel: 6
output:
- platform: gpio
id: gpio1
pin:
mpr121: mpr121_first
number: 7
mode: OUTPUT
- platform: gpio
id: gpio2
pin:
mpr121: mpr121_first
number: 11
mode: OUTPUT
inverted: true