mirror of
https://github.com/esphome/esphome.git
synced 2026-10-16 19:22:49 +00:00
78a0ffb8127d735971a17ff9e52175da254cfe50
loader.py declares final_validate_schema as Callable[[ConfigType], None] and config.py discards whatever it returns, so a validator wired straight to FINAL_VALIDATE_SCHEMA that ends in "return config" implies the value matters when it does not. Drop those returns and annotate the functions -> None. Validators composed into a cv.All still return their config, since each one feeds the next. Returned validation calls are kept as plain statements so no validation step is lost.
[core] Document constexpr constants, per-model schemas and isolated build tests in AGENTS.md (#20617)
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
623 MiB
Languages
C++
55%
Python
44.3%
C
0.4%
JavaScript
0.2%
