Hello working on getting a new system going and we have the somfy shades with a mylink bridge. The integration is setup in HAC and if we open and close the shades manually via HAC they work as intended. However when we build automations to raise and lower them at sunrise/sunset the automations. If we run the automations manually or based on specified events, we are having mixed results - mostly not working. I’m posting the log here with the hopes someone can point me in the right direction.
Thanks!!
"Logger: homeassistant.components.automation.sunrise
Source: components/automation/init.py:743
integration: Automation (documentation, issues)
First occurred: 5:10:25 PM (1 occurrences)
Last logged: 5:10:25 PM
While executing automation automation.sunrise
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/automation/init.py”, line 743, in async_trigger
return await self.action_script.async_run(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
variables, trigger_context, started_action
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
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 1032, in entity_service_call
raise result from None
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1628, in async_request_call
return await coro
^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 1079, in _handle_entity_call
result = await task
^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/somfy_mylink/cover.py”, line 114, in async_open_cover
await self.somfy_mylink.move_up(self._target_id)
File “/usr/local/lib/python3.13/site-packages/somfy_mylink_synergy/init.py”, line 42, in move_up
return await self.command(“mylink.move.up”, targetID=target_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/somfy_mylink_synergy/init.py”, line 59, in command
return await self.send_message(message)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/somfy_mylink_synergy/init.py”, line 71, in send_message
return await self._recieve_data(read_until_string)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/somfy_mylink_synergy/init.py”, line 118, in _recieve_data
data_bytes = await asyncio.wait_for(reader, timeout=self._timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/asyncio/tasks.py”, line 507, in wait_for
return await fut
^^^^^^^^^
File “/usr/local/lib/python3.13/asyncio/streams.py”, line 674, in readuntil
raise exceptions.IncompleteReadError(chunk, None)
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of undefined expected bytes"