mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Add Pca9554 component (#4192)
This commit is contained in:
@@ -1341,6 +1341,13 @@ binary_sensor:
|
||||
number: 1
|
||||
mode: INPUT
|
||||
inverted: true
|
||||
- platform: gpio
|
||||
name: PCA9554 binary sensor
|
||||
pin:
|
||||
pca9554: pca9554_hub
|
||||
number: 1
|
||||
mode: INPUT
|
||||
inverted: true
|
||||
- platform: gpio
|
||||
name: MCP21 binary sensor
|
||||
pin:
|
||||
@@ -1537,6 +1544,13 @@ output:
|
||||
number: 0
|
||||
mode: OUTPUT
|
||||
inverted: false
|
||||
- platform: gpio
|
||||
id: id26
|
||||
pin:
|
||||
pca9554: pca9554_hub
|
||||
number: 0
|
||||
mode: OUTPUT
|
||||
inverted: false
|
||||
- platform: gpio
|
||||
id: id22
|
||||
pin:
|
||||
@@ -2716,6 +2730,11 @@ pcf8574:
|
||||
pcf8575: false
|
||||
i2c_id: i2c_bus
|
||||
|
||||
pca9554:
|
||||
- id: pca9554_hub
|
||||
address: 0x3F
|
||||
i2c_id: i2c_bus
|
||||
|
||||
mcp23017:
|
||||
- id: mcp23017_hub
|
||||
open_drain_interrupt: true
|
||||
|
Reference in New Issue
Block a user