home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
70.48k stars 29.42k forks source link

Unexpected Error During Intent Recognition. #121018

Open sca075 opened 1 month ago

sca075 commented 1 month ago

The problem

Understanding Assist isn't flexible but of course this is an error that occurs during a basic intent recognition. If you request, "what is bedroom temperature" works but if you request "what is the temperature in the bedroom" it goes in error handling the intent. The area of the sensor is specified as "Bedroom". This means probably there is an issue with the intent recognition.

What version of Home Assistant Core has the issue?

2024.7.b07

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

integrations / assist_pipeline

Link to integration documentation on our website

https://www.home-assistant.io/integrations/assist_pipeline/

Diagnostics information

Screenshot 2024-07-02 at 14 23 36

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Unexpected error during intent recognition
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/assist_pipeline/pipeline.py", line 995, in recognize_intent
    conversation_result = await conversation.async_converse(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/conversation/agent_manager.py", line 108, in async_converse
    result = await method(conversation_input)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/conversation/entity.py", line 45, in internal_async_process
    return await self.async_process(user_input)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/conversation/default_agent.py", line 347, in async_process
    intent_response = await intent.async_handle(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/intent.py", line 117, in async_handle
    raise UnknownIntent(f"Unknown intent {intent_type}")
homeassistant.helpers.intent.UnknownIntent: Unknown intent HassClimateGetTemperature

Additional information

living room is an area too. Attached screenshot,

home-assistant[bot] commented 1 month ago

Hey there @balloob, @synesthesiam, mind taking a look at this issue as it has been labeled with an integration (assist_pipeline) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `assist_pipeline` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign assist_pipeline` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


assist_pipeline documentation assist_pipeline source (message by IssueLinks)

sca075 commented 1 month ago

As a matter of fact this is bug @synesthesiam I just tested the same scenario on the 2024.6.4 and it works.

synesthesiam commented 1 month ago

What kind of sensor is this?

sca075 commented 1 month ago

What kind of sensor is this?

ESPHome, esp32 there's a temperature/humidity sensor plus a monitor sensor and luminosity one.

Apparently now it simply do not reply.. for instance in the mobile version. The issue looks only on HaOS on the other instance it still works.

sca075 commented 1 month ago

Additional, ESPHome dashboard isn't installed on the PI4.. but the sensor are updated to the last firmware available.

eric10k93 commented 3 days ago

it seems this is a larger issue... I have a bunch of custom intents and NONE of them work anymore... I get the exact same issue described above of "unknown intent: " ... I don't use areas... none of my intents are recognized... I'm on 2024.8.1