I have some automations that often failes due to following same error messages for space heating and hot water tank Integration device.
Logger: homeassistant.components.automation.wp_nachtabsenkung_off
Source: custom_components/daikin_altherma/number.py:177
Integration: Automatisierung (documentation, issues)
First occurred: 06:00:00 (2 occurrences)
Last logged: 06:00:00
WP_Nachtabsenkung_OFF: Error executing script. Unexpected error for device at pos 1: Concurrent call to receive() is not allowed
While executing automation automation.wp_nachtabsenkung_off
Traceback (most recent call last):
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 692, in _async_device_step
await device_action.async_call_action_from_config(
File "/usr/src/homeassistant/homeassistant/components/device_automation/action.py", line 71, in async_call_action_from_config
await platform.async_call_action_from_config(hass, config, variables, context)
File "/usr/src/homeassistant/homeassistant/components/number/device_action.py", line 62, in async_call_action_from_config
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1787, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1824, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 968, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 720, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/number/__init__.py", line 96, in async_set_value
await entity.async_set_native_value(native_value)
File "/config/custom_components/daikin_altherma/number.py", line 177, in async_set_native_value
await self._api.device.climate_control.call_operation(key, float(value))
File "/usr/local/lib/python3.10/site-packages/pyaltherma/controllers.py", line 126, in call_operation
return await self._connection.request(destination, payload=payload)
File "/usr/local/lib/python3.10/site-packages/pyaltherma/comm.py", line 46, in request
response_str = await self._client.receive_str(timeout=self._timeout)
File "/usr/local/lib/python3.10/site-packages/aiohttp/client_ws.py", line 273, in receive_str
msg = await self.receive(timeout)
File "/usr/local/lib/python3.10/site-packages/aiohttp/client_ws.py", line 217, in receive
raise RuntimeError("Concurrent call to receive() is not allowed")
RuntimeError: Concurrent call to receive() is not allowed
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: custom_components.daikin_altherma
Source: custom_components/daikin_altherma/__init__.py:57
Integration: Daikin Altherma HVAC (documentation, issues)
First occurred: 05:30:00 (4 occurrences)
Last logged: 06:23:43
Bad logger message: Failed to update the device status with error Received message 8:1007 is not str ((TypeError('Received message 8:1007 is not str'),))
Logger: homeassistant.components.automation.wp_dhw_eco
Source: custom_components/daikin_altherma/water_heater.py:62
Integration: Automatisierung (documentation, issues)
First occurred: 05:30:00 (6 occurrences)
Last logged: 06:23:43
WP_DHW_ECO_werktags: Error executing script. Unexpected error for call_service at pos 1: Concurrent call to receive() is not allowed
While executing automation automation.wp_dhw_eco
Traceback (most recent call last):
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 1787, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1824, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 968, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 720, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/water_heater/__init__.py", line 370, in async_service_temperature_set
await entity.async_set_temperature(**kwargs)
File "/config/custom_components/daikin_altherma/water_heater.py", line 62, in async_set_temperature
await device.set_domestic_hot_water_temperature_heating(target_temperature)
File "/usr/local/lib/python3.10/site-packages/pyaltherma/controllers.py", line 231, in set_domestic_hot_water_temperature_heating
await self.call_operation('DomesticHotWaterTemperatureHeating', value)
File "/usr/local/lib/python3.10/site-packages/pyaltherma/controllers.py", line 126, in call_operation
return await self._connection.request(destination, payload=payload)
File "/usr/local/lib/python3.10/site-packages/pyaltherma/comm.py", line 46, in request
response_str = await self._client.receive_str(timeout=self._timeout)
File "/usr/local/lib/python3.10/site-packages/aiohttp/client_ws.py", line 273, in receive_str
msg = await self.receive(timeout)
File "/usr/local/lib/python3.10/site-packages/aiohttp/client_ws.py", line 217, in receive
raise RuntimeError("Concurrent call to receive() is not allowed")
RuntimeError: Concurrent call to receive() is not allowed