Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Climate Control not possible within assist #137245

Open
lweberru opened this issue Feb 3, 2025 · 3 comments
Open

Climate Control not possible within assist #137245

lweberru opened this issue Feb 3, 2025 · 3 comments

Comments

@lweberru
Copy link

lweberru commented Feb 3, 2025

The problem

While changing the temperature of my exposed climates work well with the frontend or with alexa, it is not possible to change the temperature via the assist. The assist responds that it has changed the temperature, but checking the result, it has not done anything.

What version of Home Assistant Core has the issue?

core-2025.1.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

conversation

Link to integration documentation on our website

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

Diagnostics information

home-assistant_openai_conversation_2025-02-03T14-08-29.491Z.log

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

Using openai with preferred local use. Anything else works really nice and can be controlled as expected.

@home-assistant
Copy link

home-assistant bot commented Feb 3, 2025

Hey there @home-assistant/core, @synesthesiam, mind taking a look at this issue as it has been labeled with an integration (conversation) you are listed as a code owner for? Thanks!

Code owner commands

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


conversation documentation
conversation source
(message by IssueLinks)

@lweberru
Copy link
Author

lweberru commented Feb 3, 2025

Just looked again into the debug log and found a probable error there. The tool calls HassLightSet instead of using a Climate Call.

2025-02-03 17:20:28.366 DEBUG (Dummy-1) [homeassistant.components.openai_conversation] Response ChatCompletion(id='chatcmpl-AwtTOY4FuiPhX836n82unDnRD6tkQ', choices=[Choice(finish_reason='tool_calls', index=0, logprobs=None, message=ChatCompletionMessage(content=None, role='assistant', function_call=None, tool_calls=[ChatCompletionMessageToolCall(id='call_d138rolTrwNp3kK9nbeno1Vq', function=Function(arguments='{"area":"Flur unten","domain":["climate"],"temperature":21}', name='HassLightSet'), type='function')], refusal=None))], created=1738599626, model='gpt-4o-mini-2024-07-18', object='chat.completion', service_tier='default', system_fingerprint='fp_72ed7ab54c', usage=CompletionUsage(completion_tokens=29, prompt_tokens=6828, total_tokens=6857, prompt_tokens_details={'cached_tokens': 0, 'audio_tokens': 0}, completion_tokens_details={'reasoning_tokens': 0, 'audio_tokens': 0, 'accepted_prediction_tokens': 0, 'rejected_prediction_tokens': 0}))
2025-02-03 17:20:28.367 DEBUG (Dummy-1) [homeassistant.components.openai_conversation] Tool call: HassLightSet({'area': 'Flur unten', 'domain': ['climate'], 'temperature': 21})
2025-02-03 17:20:28.369 DEBUG (Dummy-1) [homeassistant.components.openai_conversation] Tool response: {'speech': {}, 'response_type': 'action_done', 'data': {'targets': [], 'success': [{'name': 'Flur unten', 'type': <IntentResponseTargetType.AREA: 'area'>, 'id': 'flur_unten'}, {'name': 'Flur Heizung', 'type': <IntentResponseTargetType.ENTITY: 'entity'>, 'id': 'climate.flur_heizung_a'}], 'failed': []}}

@lweberru
Copy link
Author

lweberru commented Feb 4, 2025

Ok, just saw:
https://rc.home-assistant.io/blog/2025/01/29/release-20252/#setting-temperature-on-thermostat
I will retry as soon I have installed this release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants