mirror of
https://github.com/esphome/esphome.git
synced 2026-08-24 15:16:20 +00:00
2c3867dbdb2d49e72e2fd29b3dd88411853c1112
A WakeWordModel claims a preference backend that is never released, so a model built only to be rejected by add_runtime_model() costs internal RAM that never comes back. The duplicate case is expected here, since a config change can re-queue a download that is already in flight. Move the check above the construction. The id was free a moment earlier and this runs on the main loop, so a failed add is now always a genuine failure.
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
577 MiB
Languages
C++
58.3%
Python
41.1%
C
0.3%
JavaScript
0.2%
