mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 08:28:12 +01:00
20 lines
279 B
YAML
20 lines
279 B
YAML
|
i2c:
|
||
|
- id: i2c_max6956
|
||
|
scl: 5
|
||
|
sda: 4
|
||
|
|
||
|
max6956:
|
||
|
- id: max6956_1
|
||
|
address: 0x40
|
||
|
|
||
|
binary_sensor:
|
||
|
- platform: gpio
|
||
|
name: Max Input Pin 4
|
||
|
pin:
|
||
|
max6956: max6956_1
|
||
|
number: 4
|
||
|
mode:
|
||
|
input: true
|
||
|
pullup: true
|
||
|
inverted: false
|