File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/content/docs/components Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ GPIO pin and can therefore be used with many of ESPHome's components such as the
3434pca6416a :
3535 - id : ' pca6416a_device'
3636 address : 0x20
37+ interrupt_pin : GPIOXX
3738
3839# Individual outputs
3940switch :
@@ -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
You can’t perform that action at this time.
0 commit comments