home-assistant/core

setting heating temperature with Google Generative AI not possible

MikeRD03 opened this issue · 2 comments

The problem

when trying to set a temperature for one of my heating controls the Google Generative AI refuses to do so because it can not set/access the temperature control. A test with default conversation assist works OK.
The heating setting are entities with the name "climate.heizung_wohnzimmer" coming from the integration "AVM FRITZ!SmartHome"
Google Generative AI can read and report the actual temperature setting correctly but it can not set it.

What version of Home Assistant Core has the issue?

2024.10.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

Google Generative AI

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

this is the debug log for one event:

2024-10-25 11:25:48.611 DEBUG (MainThread) [homeassistant.components.google_generative_ai_conversation] Input: ' Stelle die Heizung im Büro auf 20 Grad.' with history: []
2024-10-25 11:25:49.174 DEBUG (MainThread) [homeassistant.components.google_generative_ai_conversation] Response: [function_call {
name: "HassTurnOn"
args {
fields {
key: "temperature"
value {
number_value: 20
}
}
fields {
key: "name"
value {
string_value: "Heizung Büro"
}
}
fields {
key: "domain"
value {
list_value {
values {
string_value: "climate"
}
}
}
}
}
}
]
2024-10-25 11:25:49.175 DEBUG (MainThread) [homeassistant.components.google_generative_ai_conversation] Tool call: HassTurnOn({'temperature': 20.0, 'domain': ['climate'], 'name': 'Heizung Büro'})
2024-10-25 11:25:49.175 DEBUG (MainThread) [homeassistant.components.google_generative_ai_conversation] Tool response: {'error': 'MultipleInvalid', 'error_text': "not a valid value @ data['temperature']"}
2024-10-25 11:25:49.757 DEBUG (MainThread) [homeassistant.components.google_generative_ai_conversation] Response: [text: "Ich kann das nicht tun. Die Heizung im Büro kann nur auf 18.5 Grad eingestellt werden. \n"
]

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!

Code owner commands

Code owners of google_generative_ai_conversation 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 google_generative_ai_conversation 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)


google_generative_ai_conversation documentation
google_generative_ai_conversation source
(message by IssueLinks)