Skip to content

Commit cd7f66b

Browse files
authored
[pca6416a] Add interrupt_pin documentation (#6431)
1 parent 4282f55 commit cd7f66b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/content/docs/components/pca6416a.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ GPIO pin and can therefore be used with many of ESPHome's components such as the
3434
pca6416a:
3535
- id: 'pca6416a_device'
3636
address: 0x20
37+
interrupt_pin: GPIOXX
3738

3839
# Individual outputs
3940
switch:
@@ -75,6 +76,11 @@ switch:
7576
- **id** (**Required**, [ID](/guides/configuration-types#id)): The id to use for this `pca6416a` component.
7677
- **address** (*Optional*, int): The I²C address of the driver.
7778
Defaults to `0x20`.
79+
- **interrupt_pin** (*Optional*, [Pin Schema](/guides/configuration-types#pin-schema)): The pin connected to the
80+
INT output of the PCA6416A/PCAL6416A. When configured, the component becomes interrupt-driven instead of
81+
polling — it only reads the chip when a pin actually changes state, significantly reducing I²C bus traffic
82+
and CPU usage. The INT pin is active-low and open-drain, so an external or internal pull-up resistor is
83+
required. Must be an internal GPIO pin (not another expander pin).
7884

7985
## Pin configuration variables
8086

0 commit comments

Comments
 (0)