mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 17:05:36 +00:00
c062c1ddbdb6cf59bd177ea46b2de52c178e558c
Addresses two stylistic notes on the PR: - Move `from ..helpers import lazy_once` to module scope in widgets/__init__.py. helpers.py only depends on esphome and esphome.const, so there's no circular-import risk that would justify the function-local import. Keep the `from ..schemas import base_update_schema` deferred because schemas.py imports WidgetType from this module. - Document that lazy_once is single-threaded and retries build() on exception (no negative-cache), so future callers know the contract if the helper migrates to esphome/core/helpers.py.
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
546 MiB
Languages
C++
60.1%
Python
39.3%
C
0.3%
JavaScript
0.2%
