Open zed0 opened 2 hours ago
Hey there @tronikos, mind taking a look at this issue as it has been labeled with an integration (google_generative_ai_conversation
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
google_generative_ai_conversation documentation google_generative_ai_conversation source (message by IssueLinks)
The problem
When asking a voice assistant using Google Generative AI to change the color of a light the voice assistant refuses citing an
IntentUnexpectedError
.The logs (below) show that
utils.color_name_to_rgb
was called with acolor_name
parameter which is aRGBColor
when the type hinting suggests that it should be astr
.I was able to work around this problem by adding the following lines at the start of
color_name_to_rgb
, but realise that this is just a hack which covers up the actual source of the issue:Using the Text Pipeline produces the following logs (relevant snippet here, full logs attached below):
What version of Home Assistant Core has the issue?
core-2024.10.2
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
Google Generative AI
Link to integration documentation on our website
https://www.home-assistant.io/integrations/google_generative_ai_conversation
Diagnostics information
home-assistant_google_generative_ai_conversation_2024-10-13T19-27-27.409Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?