mirror of
https://github.com/esphome/esphome.git
synced 2026-09-15 17:18:40 +00:00
cf7bed8b6cf0a6e7af1e3a39db5a0b9ce7ba5f83
When interrupt_driven_ is set, digital_read() no longer self-invalidates each pin's cache entry. The cache stays valid until reset_pin_cache_() is called from loop() when an interrupt fires. This eliminates I2C reads on every binary sensor loop iteration — only reading when pins actually change.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
597 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
