1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-08 14:10:54 +00:00

20 lines
295 B
YAML
Raw Normal View History

i2c:
- id: i2c_max6956
scl: ${scl_pin}
sda: ${sda_pin}
max6956:
- id: max6956_1
address: 0x40
binary_sensor:
- platform: gpio
name: Max Input Pin
pin:
max6956: max6956_1
number: 4
mode:
input: true
pullup: true
inverted: false