mirror of
https://github.com/esphome/esphome.git
synced 2024-11-30 10:44:13 +01:00
18 lines
262 B
YAML
18 lines
262 B
YAML
|
i2c:
|
||
|
- id: i2c_pca6416a
|
||
|
scl: 16
|
||
|
sda: 17
|
||
|
|
||
|
pca6416a:
|
||
|
- id: pca6416a_hub
|
||
|
address: 0x21
|
||
|
|
||
|
binary_sensor:
|
||
|
- platform: gpio
|
||
|
name: PCA6416A Binary Sensor
|
||
|
pin:
|
||
|
pca6416a: pca6416a_hub
|
||
|
number: 15
|
||
|
mode: INPUT
|
||
|
inverted: true
|