mirror of
https://github.com/esphome/esphome.git
synced 2026-06-24 15:28:53 +00:00
fabc1b584fecc85ff7f497689a980e7a29dbf807
Both container_schema and _lazy_update_schema implement the same "build the voluptuous schema on first call and cache the result" closure. Factor it out into lazy_once() in helpers.py so the pattern only lives in one place. No behavioral change; lvgl test configs still pass and import time is unchanged from the previous commit (~215ms cold on M-series Mac).
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
393 MiB
Languages
C++
60.7%
Python
38.9%
C
0.3%
