Sorry. Replied to your earlier post in response to mine and that wasn’t clear.
When trying to write schedules, I’m still getting:
Logger: homeassistant.components.script.normal_heating_script
Source: helpers/script.py:501
integration: Scripts (documentation, issues)
First occurred: 20:44:57 (3 occurrences)
Last logged: 20:52:01
Normal heating schedule: Error executing script. Unexpected error for call_service at pos 3: <ProtocolContext state=WantEcho cmd_=0404| W|01:065252|0303, tx_count=4/4>: Exceeded maximum retries
Normal heating schedule: Error executing script. Unexpected error for call_service at pos 3: <ProtocolContext state=WantEcho cmd_=0404| W|01:065252|0302, tx_count=4/4>: Exceeded maximum retries
Normal heating schedule: Error executing script. Unexpected error for call_service at pos 2: <ProtocolContext state=WantEcho cmd_=0404| W|01:065252|0702, tx_count=4/4>: Exceeded maximum retries
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 501, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 736, in _async_call_service_step
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 699, in _async_run_long_action
return await long_task
^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2738, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2779, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 975, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1047, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/config/custom_components/ramses_cc/climate.py", line 473, in async_set_zone_schedule
await self._device.set_schedule(json.loads(schedule))
File "/usr/local/lib/python3.12/site-packages/ramses_rf/system/zones.py", line 171, in set_schedule
await self._schedule.set_schedule(schedule) # type: ignore[arg-type]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ramses_rf/system/schedule.py", line 404, in set_schedule
await put_fragment(num, len(self._fragments), frag)
File "/usr/local/lib/python3.12/site-packages/ramses_rf/system/schedule.py", line 373, in put_fragment
await self._gwy.async_send_cmd(
File "/usr/local/lib/python3.12/site-packages/ramses_rf/gateway.py", line 619, in async_send_cmd
return await super().async_send_cmd(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ramses_tx/gateway.py", line 328, in async_send_cmd
return await self._protocol.send_cmd(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ramses_tx/protocol.py", line 707, in send_cmd
pkt = await super().send_cmd( # may: raise ProtocolError/ProtocolSendFailed
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ramses_tx/protocol.py", line 481, in send_cmd
return await super().send_cmd(cmd, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ramses_tx/protocol.py", line 225, in send_cmd
return await self._send_cmd(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ramses_tx/protocol.py", line 656, in _send_cmd
return await self._context.send_cmd(send_cmd, cmd, priority, qos)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ramses_tx/protocol_fsm.py", line 333, in send_cmd
await asyncio.wait_for(fut, timeout=timeout)
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
return await fut
^^^^^^^^^
ramses_tx.exceptions.ProtocolSendFailed: <ProtocolContext state=WantEcho cmd_=0404| W|01:065252|0303, tx_count=4/4>: Exceeded maximum retries
I’m now on 0.41.20