mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 02:07:09 +00:00
Ensure intents_changed
variable is always initialized (#121444)
This commit is contained in:
parent
fb8eeac563
commit
eb0f6f7088
@ -649,6 +649,7 @@ class DefaultAgent(ConversationEntity):
|
|||||||
language_variant = lang_intents.language_variant
|
language_variant = lang_intents.language_variant
|
||||||
|
|
||||||
supported_langs = set(get_languages())
|
supported_langs = set(get_languages())
|
||||||
|
intents_changed = False
|
||||||
|
|
||||||
if not language_variant:
|
if not language_variant:
|
||||||
# Choose a language variant upfront and commit to it for custom
|
# Choose a language variant upfront and commit to it for custom
|
||||||
|
Loading…
x
Reference in New Issue
Block a user