mirror of
https://github.com/esphome/esphome.git
synced 2024-11-30 10:44:13 +01:00
29 lines
444 B
YAML
29 lines
444 B
YAML
|
i2c:
|
||
|
- id: i2c_pcf8563
|
||
|
scl: 16
|
||
|
sda: 17
|
||
|
|
||
|
pcf8574:
|
||
|
- id: pcf8574_hub
|
||
|
address: 0x21
|
||
|
pcf8575: false
|
||
|
|
||
|
binary_sensor:
|
||
|
- platform: gpio
|
||
|
id: pcf8574_binary_sensor
|
||
|
name: PCF Binary Sensor
|
||
|
pin:
|
||
|
pcf8574: pcf8574_hub
|
||
|
number: 1
|
||
|
mode: INPUT
|
||
|
inverted: true
|
||
|
|
||
|
output:
|
||
|
- platform: gpio
|
||
|
id: pcf8574_output
|
||
|
pin:
|
||
|
pcf8574: pcf8574_hub
|
||
|
number: 0
|
||
|
mode: OUTPUT
|
||
|
inverted: false
|