mirror of
https://github.com/esphome/esphome.git
synced 2026-09-25 14:00:25 +00:00
Add optional interrupt_pin configuration to eliminate I2C polling for GPIO reads. When configured, the component disables its loop and only reads the I2C bus when the interrupt fires, matching the pattern used by PCF8574, PCA9554, and other GPIO expanders. When keypad mode is active, the loop continues running for key scanning regardless of interrupt configuration.