mirror of
https://github.com/esphome/esphome.git
synced 2026-08-24 07:06:20 +00:00
frenck/framework-helpers-lazy-requests
Same pattern as framework_helpers: both modules imported requests at module top level but only use it inside functions that perform actual network I/O (downloading fonts/images, web_server OTA upload), never during config validation. external_files is loaded by the font and audio_file components. Defer the imports into the functions that use them, and update the tests to patch requests.<method> directly (the modules no longer hold a requests attribute). Adds regression tests guarding against re-introducing the top-level imports.
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
575 MiB
Languages
C++
58.3%
Python
41.1%
C
0.3%
JavaScript
0.2%
