Franck Nijhof ee1fffb062 [core] Defer requests import in framework_helpers
framework_helpers imported requests at module top level, but it is only
used by download_from_mirrors() to fetch toolchains during a build. The
module is loaded during config validation (via the esp-idf framework,
the default for esp32, and the host platform), so every such config paid
the ~85ms requests import cost even though validation never downloads
anything.

Defer the import into download_from_mirrors(). Measured roughly 70ms
(~16%) off esphome config wall time for an esp-idf/host config.
2026-06-25 18:51:48 +00:00
2023-06-12 17:00:34 +12:00
2022-09-06 15:48:01 +12:00
2024-03-28 10:20:51 +13:00
2025-12-08 14:37:45 -05:00
2026-06-11 12:41:19 +12:00
S
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
609 MiB
Languages
C++ 55.7%
Python 43.7%
C 0.3%
JavaScript 0.2%