Skip to content

Intent does not trigger #3528

@felixschndr

Description

@felixschndr

Hey there,
I am currently getting started working on my voice assistant with HA and wanted to implement some weather stuff. I've seen that there is a HassGetWeather intent. However it does not trigger for me:

Image
stage: done
run:
  pipeline: 01k6rbwxcn14xpxg237197gse1
  language: de
  conversation_id: 01K7MCAZ6ZA93QY0CH2GHF4X8F
  runner_data:
    stt_binary_handler_id: null
    timeout: 300
events:
  - type: run-start
    data:
      pipeline: 01k6rbwxcn14xpxg237197gse1
      language: de
      conversation_id: 01K7MCAZ6ZA93QY0CH2GHF4X8F
      runner_data:
        stt_binary_handler_id: null
        timeout: 300
    timestamp: "2025-10-15T16:49:11.785104+00:00"
  - type: intent-start
    data:
      engine: conversation.google_ai_conversation
      language: de-DE
      intent_input: wie ist das Wetter
      conversation_id: 01K7MCAZ6ZA93QY0CH2GHF4X8F
      device_id: null
      satellite_id: null
      prefer_local_intents: true
    timestamp: "2025-10-15T16:49:11.785217+00:00"
  - type: intent-progress
    data:
      chat_log_delta:
        role: assistant
    timestamp: "2025-10-15T16:49:15.811981+00:00"
  - type: intent-progress
    data:
      chat_log_delta:
        thinking_content: >+
          **Gathering Weather Data**


          I'm currently focused on the user's request, specifically "wie ist das
          Wetter." This points me directly to gathering current weather
          information. I've noted the need for a location parameter, though it's
          missing in this turn. My next step will be to handle that.


    timestamp: "2025-10-15T16:49:15.812168+00:00"
  - type: intent-progress
    data:
      chat_log_delta:
        thinking_content: >+
          **Analyzing Weather Code**


          I've successfully retrieved the weather data for Karlsruhe, Germany.
          Now, I need to understand what "weathercode: 1" means. My next task
          will be to cross-reference this code with a weather code key or lookup
          table to provide a meaningful weather description to the user. I'm
          focusing on providing the user with a human-readable interpretation of
          the raw data.


    timestamp: "2025-10-15T16:49:17.818139+00:00"
  - type: intent-progress
    data:
      chat_log_delta:
        thinking_content: >+
          **Deciphering Weather Codes**


          Now I have temperature and weather code values. I've successfully
          translated the weather code '1' to "Mainly clear sky" after
          referencing my internal WMO weather codes knowledge. With the pieces
          in place, the plan is to assemble a coherent, plain-text response,
          incorporating both temperature and the interpreted weather description
          for the user.


    timestamp: "2025-10-15T16:49:18.361608+00:00"
  - type: intent-progress
    data:
      chat_log_delta:
        content: >-
          Die aktuelle Temperatur beträgt 14.6 Grad Celsius und es ist
          hauptsächlich klar.
    timestamp: "2025-10-15T16:49:18.391955+00:00"
  - type: intent-end
    data:
      processed_locally: false
      intent_output:
        response:
          speech:
            plain:
              speech: >-
                Die aktuelle Temperatur beträgt 14.6 Grad Celsius und es ist
                hauptsächlich klar.
              extra_data: null
          card: {}
          language: de-DE
          response_type: action_done
          data:
            targets: []
            success: []
            failed: []
        conversation_id: 01K7MCAZ6ZA93QY0CH2GHF4X8F
        continue_conversation: false
    timestamp: "2025-10-15T16:49:18.397314+00:00"
  - type: run-end
    data: null
    timestamp: "2025-10-15T16:49:18.397433+00:00"
intent:
  engine: conversation.google_ai_conversation
  language: de-DE
  intent_input: wie ist das Wetter
  conversation_id: 01K7MCAZ6ZA93QY0CH2GHF4X8F
  device_id: null
  satellite_id: null
  prefer_local_intents: true
  done: true
  processed_locally: false
  intent_output:
    response:
      speech:
        plain:
          speech: >-
            Die aktuelle Temperatur beträgt 14.6 Grad Celsius und es ist
            hauptsächlich klar.
          extra_data: null
      card: {}
      language: de-DE
      response_type: action_done
      data:
        targets: []
        success: []
        failed: []
    conversation_id: 01K7MCAZ6ZA93QY0CH2GHF4X8F
    continue_conversation: false

HA sends the request to the LLM instead of handling it locally and I wonder why that is. Can someone explain that to me?

I have a weather entity (weather.home) setup and available.


And what does

        requires_context:
          domain: weather

mean?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions