### The problem
Any operations to set heating or hot water values result in a e…rror being thrown.
This was working yesterday on version 2025.2.2, upgraded to 2025.2.3 to see if that resolved but same issue. Also tried removing integration and adding again but this does not resolve issue.
Seems like Hive API is rejecting request but I can't see enough details in the logs to investigate further.
### What version of Home Assistant Core has the issue?
2025.2.3
### What was the last working version of Home Assistant Core?
2025.2.2
### What type of installation are you running?
Home Assistant OS
### Integration causing the issue
hive
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/hive/
### Diagnostics information
2025-02-14 12:41:41.353 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140623382675664] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<7 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/core.py", line 2794, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2837, 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 "/usr/src/homeassistant/homeassistant/components/hive/__init__.py", line 94, in wrapper
await func(self, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/components/hive/switch.py", line 76, in async_turn_off
await self.hive.switch.turnOff(self.device)
File "/usr/local/lib/python3.13/site-packages/apyhiveapi/plug.py", line 215, in turnOff
return await self.session.heating.setHeatOnDemand(device, "DISABLED")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/apyhiveapi/heating.py", line 403, in setHeatOnDemand
resp = await self.session.api.setState(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
data["type"], device["hiveID"], autoBoost=state
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/apyhiveapi/api/hive_async_api.py", line 288, in setState
resp = await self.request("post", url, data=jsc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/apyhiveapi/api/hive_async_api.py", line 92, in request
raise HiveApiError
apyhiveapi.helper.hive_exceptions.HiveApiError
2025-02-14 12:41:42.283 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140623382675664] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<7 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/core.py", line 2794, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2837, 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 "/usr/src/homeassistant/homeassistant/components/hive/__init__.py", line 94, in wrapper
await func(self, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/components/hive/switch.py", line 71, in async_turn_on
await self.hive.switch.turnOn(self.device)
File "/usr/local/lib/python3.13/site-packages/apyhiveapi/plug.py", line 201, in turnOn
return await self.session.heating.setHeatOnDemand(device, "ENABLED")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/apyhiveapi/heating.py", line 403, in setHeatOnDemand
resp = await self.session.api.setState(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
data["type"], device["hiveID"], autoBoost=state
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/apyhiveapi/api/hive_async_api.py", line 288, in setState
resp = await self.request("post", url, data=jsc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/apyhiveapi/api/hive_async_api.py", line 92, in request
raise HiveApiError
apyhiveapi.helper.hive_exceptions.HiveApiError
### Example YAML snippet
```yaml
```
### Anything in the logs that might be useful for us?
```txt
```
### Additional information
_No response_