1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-13 00:18:21 +00:00
2025-02-05 15:37:15 +13:00

18 lines
278 B
YAML

i2c:
- id: i2c_pca6416a
scl: ${scl_pin}
sda: ${sda_pin}
pca6416a:
- id: pca6416a_hub
address: 0x21
binary_sensor:
- platform: gpio
name: PCA6416A Binary Sensor
pin:
pca6416a: pca6416a_hub
number: 15
mode: INPUT
inverted: true