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

Temperature controls overwrite time program instead of setting quick veto - not working #247

Open
DanielStockinger opened this issue Dec 17, 2024 · 3 comments

Comments

@DanielStockinger
Copy link

DanielStockinger commented Dec 17, 2024

Hello everyone,

When I set a new temperature, it only works for a limited time like in the app. But the temperature is set correctly.

image

But now I tick the box for Temperature controls overwrite time program instead of setting quick veto
then no matter what I set, the temperature is set to 10 degrees.

it is also not possible via devTool
image

@signalkraft
Can you please explain me, what i am doing wrong?

Many Thanks
Daniel

@signalkraft
Copy link
Owner

The YAML in your screenshot is invalid, you need to remove the 3rd line.

@DanielStockinger
Copy link
Author

DanielStockinger commented Dec 30, 2024

@signalkraft

The YAML in your screenshot is invalid, you need to remove the 3rd line.

Hello,

Many thanks. This results in Error:

image

image

image

Log details (ERROR)
Logger: homeassistant.helpers.script.websocket_api_script
Source: helpers/script.py:526
First occurred: 06:48:47 (2 occurrences)
Last logged: 06:50:29

websocket_api script: Error executing script. Unexpected error for call_service at pos 1: 404, message='Resource Not Found', url='https://api.vaillant-group.com/service-connected-control/vrc700/v1/systems/21a5b41d-543e-47e0-85a4-f54657874d1c/zone/1/heating/manual-mode-setpoint'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 526, in _async_step
    await getattr(self, handler)()
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 764, in _async_call_service_step
    response_data = await self._async_run_long_action(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<9 lines>...
    )
    ^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 727, in _async_run_long_action
    return await long_task
           ^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2802, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2845, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1007, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
        hass, entity, func, data, call.context
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1079, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/config/custom_components/mypyllant/climate.py", line 594, in set_manual_mode_setpoint
    await self.coordinator.api.set_manual_mode_setpoint(
        self.zone, temperature, setpoint_type
    )
  File "/usr/local/lib/python3.13/site-packages/myPyllant/api.py", line 673, in set_manual_mode_setpoint
    await self.aiohttp_session.patch(
    ...<3 lines>...
    )
  File "/usr/local/lib/python3.13/site-packages/myPyllant/http_client.py", line 30, in _request
    return await super()._request(method, url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 832, in _request
    await raise_for_status(resp)
  File "/usr/local/lib/python3.13/site-packages/myPyllant/http_client.py", line 83, in on_raise_for_status
    response.raise_for_status()
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 1161, in raise_for_status
    raise ClientResponseError(
    ...<5 lines>...
    )
aiohttp.client_exceptions.ClientResponseError: 404, message='Resource Not Found', url='https://api.vaillant-group.com/service-connected-control/vrc700/v1/systems/21a5b41d-543e-47e0-85a4-f54657874d1c/zone/1/heating/manual-mode-setpoint'

`

Log details (ERROR)
Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/mypyllant/climate.py:594
integration: Home Assistant WebSocket API ([documentation](https://www.home-assistant.io/integrations/websocket_api), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+websocket_api%22))
First occurred: 06:48:47 (2 occurrences)
Last logged: 06:50:29

[140463199783952] Error handling message: Unknown error (unknown_error) DanielStockinger from 10.0.0.231 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response
    await func(hass, connection, msg)
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 816, in handle_execute_script
    script_result = await script_obj.async_run(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
        msg.get("variables"), context=context
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1801, in async_run
    return await asyncio.shield(create_eager_task(run.async_run()))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 464, in async_run
    await self._async_step(log_exceptions=False)
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 528, in _async_step
    self._handle_exception(
    ~~~~~~~~~~~~~~~~~~~~~~^
        ex, continue_on_error, self._log_exceptions or log_exceptions
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 558, in _handle_exception
    raise exception
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 526, in _async_step
    await getattr(self, handler)()
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 764, in _async_call_service_step
    response_data = await self._async_run_long_action(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<9 lines>...
    )
    ^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 727, in _async_run_long_action
    return await long_task
           ^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2802, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2845, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1007, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
        hass, entity, func, data, call.context
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1079, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/config/custom_components/mypyllant/climate.py", line 594, in set_manual_mode_setpoint
    await self.coordinator.api.set_manual_mode_setpoint(
        self.zone, temperature, setpoint_type
    )
  File "/usr/local/lib/python3.13/site-packages/myPyllant/api.py", line 673, in set_manual_mode_setpoint
    await self.aiohttp_session.patch(
    ...<3 lines>...
    )
  File "/usr/local/lib/python3.13/site-packages/myPyllant/http_client.py", line 30, in _request
    return await super()._request(method, url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 832, in _request
    await raise_for_status(resp)
  File "/usr/local/lib/python3.13/site-packages/myPyllant/http_client.py", line 83, in on_raise_for_status
    response.raise_for_status()
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 1161, in raise_for_status
    raise ClientResponseError(
    ...<5 lines>...
    )
aiohttp.client_exceptions.ClientResponseError: 404, message='Resource Not Found', url='https://api.vaillant-group.com/service-connected-control/vrc700/v1/systems/21a5b41d-543e-47e0-85a4-f54657874d1c/zone/1/heating/manual-mode-setpoint'

Many Thanks
Daniel

@DanielStockinger
Copy link
Author

Good Morning,

@signalkraft do you have any ideas why this is not working?

The only thing i want is to set the new temperature permanent instead of time based.

Many Thanks Daniel

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

No branches or pull requests

2 participants