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

Supla's covers can't use cover.set_cover_position service #121007

Open
marithpl opened this issue Jul 2, 2024 · 7 comments
Open

Supla's covers can't use cover.set_cover_position service #121007

marithpl opened this issue Jul 2, 2024 · 7 comments

Comments

@marithpl
Copy link

marithpl commented Jul 2, 2024

The problem

When you try to set position of cover for ex 50% you receive an error Nie udało się wywołać usługi cover/set_cover_position. unknown error.

The error implicate to HomeKit bridge - when I allow cover devices to connect to HomeKit it uses the same service.

Rejestrator: homeassistant.core
Źródło: core.py:2761
Pierwsze zdarzenie: 01:38:06 (24 zdarzenia)
Ostatnio zalogowany: 11:41:09

Error executing service: <ServiceCall cover.set_cover_position (c:01J1SD1ZFCE2S3K3HK7EKY08RJ): entity_id=['cover.jadalnia_3'], position=100>
Error executing service: <ServiceCall cover.set_cover_position (c:01J1SD20JW8TVTARSHTV8K5M0S): entity_id=['cover.jadalnia_3'], position=0>
Error executing service: <ServiceCall cover.set_cover_position (c:01J1SD3G5R1X0C9PRGW9HE3YJM): entity_id=['cover.jadalnia_2'], position=0>
Error executing service: <ServiceCall cover.set_cover_position (c:01J1SD3GW976WNAD7CTKJK6QX3): entity_id=['cover.jadalnia_3'], position=100>
Error executing service: <ServiceCall cover.set_cover_position (c:01J1SD3HPRDHRCVT7CVR39HFG1): entity_id=['cover.jadalnia_3'], position=0>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in _run_service_call_catch_exceptions
    await coro_or_task
  File "/usr/src/homeassistant/homeassistant/core.py", line 2784, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 977, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1049, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/supla/cover.py", line 74, in async_set_cover_position
    await self.async_action("REVEAL", percentage=kwargs.get(ATTR_POSITION))
  File "/usr/src/homeassistant/homeassistant/components/supla/entity.py", line 61, in async_action
    await self.server.execute_action(self.channel_data["id"], action, **add_pars)
  File "/usr/local/lib/python3.12/site-packages/asyncpysupla/__init__.py", line 78, in execute_action
    assert 200 < resp.status < 299
AssertionError
image

What version of Home Assistant Core has the issue?

2024.6.4

What was the last working version of Home Assistant Core?

2024.5

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Supla

Link to integration documentation on our website

https://www.home-assistant.io/integrations/supla/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

home-assistant bot commented Jul 2, 2024

Hey there @mwegrzynek, mind taking a look at this issue as it has been labeled with an integration (supla) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of supla can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign supla Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


supla documentation
supla source
(message by IssueLinks)

@janstepanek159
Copy link

I have the same issue. Please help! It worked perfect until like 2-3weeks ago.

@PrzemekKondziela
Copy link

Same problem here.

@mwegrzynek
Copy link
Contributor

Hi! Can you run Supla integration with Debug logging enabled and post logs? See: https://www.home-assistant.io/docs/configuration/troubleshooting/. I don't use this integration anymore (I switched my devices to MQTT), so to debug it I would need

  • server name
  • private token
  • optionally: id of the channel I can test the integration on (basically open and close the shutters)

Don't post these details here. PM me on Twitter (@mwegrzynek) to arrange safe transfer of these details.

@marithpl
Copy link
Author

marithpl commented Jul 6, 2024

Hi! Can you run Supla integration with Debug logging enabled and post logs? See: https://www.home-assistant.io/docs/configuration/troubleshooting/. I don't use this integration anymore (I switched my devices to MQTT), so to debug it I would need

  • server name
  • private token
  • optionally: id of the channel I can test the integration on (basically open and close the shutters)

Don't post these details here. PM me on Twitter (@mwegrzynek) to arrange safe transfer of these details.

I'm not able to PM you on twitter.

@mwegrzynek
Copy link
Contributor

OK, I've changed my Twitter settings, try again.

@krzysztof-magosa
Copy link

2024.7.1 is also affected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants