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.Set_temperature does not work when HVAC_mode = Heat_cool #80990

Closed
msondermeijer opened this issue Oct 26, 2022 · 4 comments
Closed

Climate.Set_temperature does not work when HVAC_mode = Heat_cool #80990

msondermeijer opened this issue Oct 26, 2022 · 4 comments

Comments

@msondermeijer
Copy link

The problem

Using the UI, I cannot set my temperature anymore for a Qubino Zwave ZMNHIA thermostat (non zw+, FW: v1.12)
this module only have one HVAC_Mode (off / heat_cool), but only ONE setpoint. this is not compatible with the description in
https://www.home-assistant.io/integrations/climate/
image

please update/ allow this setpoint to be used again also with hvac_mode = heat_cool or Auto)

image

see forum: https://community.home-assistant.io/t/qubino-thermostat-old-zmnhiax-cant-set-temperature/460453/4

What version of Home Assistant Core has the issue?

2022.10.5

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

Climate, ZwaveJS

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

alias: "test ZMNHIAx setpoint"
initial_state: false
trigger:
  platform: time
  at: "10:00"
action:
  - service: climate.set_temperature
    entity_id: climate.gf_heating_kitchen
    data:
      hvac_mode: heat_cool
      temperature: 20
#      target_temp_high: 21
#      target_temp_low: 19

Anything in the logs that might be useful for us?

result after set temperature in UI
2022-10-23 20:00:06.661 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [139631301168144] Received {'type': 'call_service', 'domain': 'climate', 'service': 'set_temperature', 'service_data': {'entity_id': 'climate.gf_heating_kitchen', 'temperature': 17.5}, 'id': 79}
2022-10-23 20:00:06.663 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=climate, service=set_temperature, service_data=entity_id=climate.gf_heating_kitchen, temperature=17.5>
2022-10-23 20:00:06.666 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: EventTask(event=<Event call_service[L]: domain=climate, service=set_temperature, service_data=entity_id=climate.gf_heating_kitchen, temperature=17.5>)
2022-10-23 20:00:06.665 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139631301168144] Value requested is not available
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 202, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1738, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1775, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 207, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 678, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 931, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 715, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 613, in async_service_temperature_set
    await entity.async_set_temperature(**kwargs)
  File "/usr/src/homeassistant/homeassistant/components/zwave_js/climate.py", line 464, in async_set_temperature
    setpoint_high: ZwaveValue = self._setpoint_value_or_raise(
  File "/usr/src/homeassistant/homeassistant/components/zwave_js/climate.py", line 209, in _setpoint_value_or_raise
    raise ValueError("Value requested is not available")
ValueError: Value requested is not available



result after test via automation:
`2022-10-26 07:24:37.175 ERROR (MainThread) [homeassistant.components.automation.test_zmnhiax_setpoint] While executing automation automation.test_zmnhiax_setpoint
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 546, in async_trigger
    await self.action_script.async_run(
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1524, in async_run
    await asyncio.shield(run.async_run())
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 409, in async_run
    await self._async_step(log_exceptions=False)
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 453, in _async_step
    self._handle_exception(
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 476, in _handle_exception
    raise exception
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 451, in _async_step
    await getattr(self, handler)()
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 684, in _async_call_service_step
    await service_task
  File "/usr/src/homeassistant/homeassistant/core.py", line 1738, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1775, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 207, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 678, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 931, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 715, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 613, in async_service_temperature_set
    await entity.async_set_temperature(**kwargs)
  File "/usr/src/homeassistant/homeassistant/components/zwave_js/climate.py", line 464, in async_set_temperature
    setpoint_high: ZwaveValue = self._setpoint_value_or_raise(
  File "/usr/src/homeassistant/homeassistant/components/zwave_js/climate.py", line 209, in _setpoint_value_or_raise
    raise ValueError("Value requested is not available")
ValueError: Value requested is not available`

Additional information

No response

@home-assistant
Copy link

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

Code owner commands

Code owners of climate can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Change the title of the issue.
  • @home-assistant unassign climate Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


climate documentation
climate source
(message by IssueLinks)

@github-actions github-actions bot added the stale label Nov 25, 2022
@kurdybanek
Copy link

I have same issue, should I provide some info?

@github-actions github-actions bot removed the stale label Nov 28, 2022
@zsawyer
Copy link

zsawyer commented Feb 7, 2023

I have a similar issue with climate.set_temperature when trying to set the temperature and the hvac_mode at the same time (in my case the target value was "heat"): It only sometimes managed to set the thermostat's target temperatures sometimes it just doesn't update at all.

I have resorted to splitting the commands into two service calls like suggest here: https://community.home-assistant.io/t/climate-set-temperature-not-working-on-honeywell-thermostat/394011

  - service: climate.set_temperature
    data:
      temperature: "{{ states('input_number.zieltemperatur_arbeitszimmer') }}"
      hvac_mode: heat
    target:
      area_id: arbeitszimmer

->

  - service: climate.set_temperature
    data:
      temperature: "{{ states('input_number.zieltemperatur_arbeitszimmer') }}"
    target:
      area_id: arbeitszimmer
  - service: climate.set_hvac_mode
    data:
      hvac_mode: heat
    target:
      area_id: arbeitszimmer

@issue-triage-workflows
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@issue-triage-workflows issue-triage-workflows bot closed this as not planned Won't fix, can't repro, duplicate, stale May 15, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jun 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants