Kevin Ahrendt 2c3867dbdb [voice_assistant] Check for an already loaded model before building one
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.
2026-08-10 08:11:47 -04:00
2023-06-12 17:00:34 +12:00
2026-08-10 08:11:47 -04:00
2022-09-06 15:48:01 +12:00
2024-03-28 10:20:51 +13:00
2025-12-08 14:37:45 -05:00
2026-08-05 13:19:43 +12:00
S
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%