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

Error executing service: <ServiceCall cover.set_cover_position #4

Closed
gregbm99 opened this issue Jun 10, 2020 · 1 comment
Closed

Error executing service: <ServiceCall cover.set_cover_position #4

gregbm99 opened this issue Jun 10, 2020 · 1 comment

Comments

@gregbm99
Copy link

See log below:

Error executing service: <ServiceCall cover.set_cover_position (c:13bb228a4ee145e78109ab5430ee1b90): entity_id=['cover.shade_9'], position=5>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/core.py", line 1263, in catch_exceptions
await coro_or_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1282, in _execute_service
await handler.func(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
self._platforms.values(), func, call, required_features
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 453, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 596, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 484, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/cover/init.py", line 269, in async_set_cover_position
await self.hass.async_add_job(ft.partial(self.set_cover_position, **kwargs))
File "/config/custom_components/acmeda/cover.py", line 102, in set_cover_position
await self.roller.move_to(100 - kwargs[ATTR_POSITION])
File "/usr/local/lib/python3.7/site-packages/aiopulse/elements.py", line 67, in move_to
const.COMMAND_MOVE_TO, bytes.fromhex("2201"), message
File "/usr/local/lib/python3.7/site-packages/aiopulse/hub.py", line 597, in send_payload
self.protocol.send(command_header + utils.pack_int(length, 2) + data + checksum)
File "/usr/local/lib/python3.7/site-packages/aiopulse/transport.py", line 157, in send
raise NotConnectedException
aiopulse.errors.NotConnectedException

@atmurray
Copy link
Owner

Fixed in version 0.4.1 where reconnection reliability was improved.

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