"Suggest with AI" button fails with return_response error

I’m having an issue with the built-in Suggest with AI button in Home Assistant 2025.8.1.

What happens:

  • I have created a new AI Task (tested with both Google Generative AI and OpenAI integrations).
  • Set it as the default under Settings → System → General → AI suggestions.
  • Restarted HA Core to ensure settings are applied.
  • The AI Task works fine if I call it manually from Developer Tools using ai_task.generate_data with response_variable.
  • However, when I click the built-in Suggest with AI button in the UI (e.g., when editing an automation), it fails with the following error:
The action requires responses and must be called with return_response=True

What I’ve tried:

  • Deleted all existing AI Tasks and created a new one from scratch.
  • Tested with OpenAI and Google Generative AI integrations.
  • Restarted HA after every change.
  • Verified that the default AI Task is correctly selected in AI suggestions.

Notes:
It seems the built-in button is still trying to call the service with return_response=True (old schema), even though in 2025.8 the AI Task service now uses response_variable instead.
This mismatch causes the action to fail.

Is this a known issue with the Suggest with AI button in 2025.8.x?
Do I need to configure something differently so the built-in button uses the new response_variable approach?

Thanks in advance for any guidance!

I can’t find how to fix it yet…

That’s a bug, open an issue

Issue hes been opend :slight_smile:

“Suggest with AI” button fails with return_response error · Issue #150940 · home-assistant/core

Same issue. Please let us know if anyone has found a fix.