#Assist Pipeline - 'Unknown intent custom_intents' error with local processing

1 messages · Page 1 of 1 (latest)

mental topaz
#

Hello everyone,

I have a problem with the Assist Pipeline and custom intents. The following error appears regularly:

Logger: homeassistant.components.assist_pipeline.pipeline
Source: components/assist_pipeline/pipeline.py:1065
Integration: Assist pipeline
Error: Unknown intent custom_intents

The error only occurs when I have "Prefer local command processing" enabled in the pipeline settings. What I've already checked/tried:

  • Temporarily deactivated all my intent definitions (*.yaml.deactive)
  • Enabled debug logging for conversation and intent helper
  • Searched for the term "custom_intents" in all YAML files (not found)
  • Commented out packages: !include_dir_named includes

The error continues to occur even though "custom_intents" isn't mentioned anywhere in my configuration files. The debug logs don't show any additional details. Does anyone have an idea where else to look for the cause?

Version: 2024.12.5

shy crow
#

Would be nice to translate your post to English - you'd get more support. 🙂

mental topaz
#

Assist Pipeline - 'Unknown intent custom_intents' error with local processing

#

@shy crow Thank you for the hint. Sometimes it might be smarter to write in English in an English channel 🙈

#

Here is the complete error output from the log:

Logger: homeassistant.components.assist_pipeline.pipeline
Quelle: components/assist_pipeline/pipeline.py:1065
Integration: Assist pipeline (Dokumentation, Probleme)
Erstmals aufgetreten: 06:38:24 (3 Vorkommnisse)
Zuletzt protokolliert: 06:53:46

Unexpected error during intent recognition
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/assist_pipeline/pipeline.py", line 1065, in recognize_intent
    intent_response := await conversation.async_handle_intents(
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        self.hass, user_input
        ^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/src/homeassistant/homeassistant/components/conversation/__init__.py", line 233, in async_handle_intents
    return await default_agent.async_handle_intents(user_input)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/conversation/default_agent.py", line 1351, in async_handle_intents
    conversation_result = await self._async_process_intent_result(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        result, user_input
        ^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/src/homeassistant/homeassistant/components/conversation/default_agent.py", line 441, in _async_process_intent_result
    intent_response = await intent.async_handle(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<10 lines>...
    )
    ^
  File "/usr/src/homeassistant/homeassistant/helpers/intent.py", line 121, in async_handle
    raise UnknownIntent(f"Unknown intent {intent_type}")
homeassistant.helpers.intent.UnknownIntent: Unknown intent custom_intents