mirror of
https://github.com/esphome/esphome.git
synced 2026-09-14 08:38:39 +00:00
ebbc3b57c779430234f922e2ce135301f37b2815
Arduino's delay() uses esp_suspend() with a one-shot os_timer for efficient single-suspension waiting. Our replacement polls millis() with optimistic_yield(), which also enters esp_schedule/esp_suspend via yield() but resumes repeatedly. Functionally correct for ESPHome (delay is cold path, SDK tasks run via yield), just less power- efficient for long delays.
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
594 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
