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

[Bug] #86

Open
UniqueOps opened this issue Mar 27, 2023 · 0 comments
Open

[Bug] #86

UniqueOps opened this issue Mar 27, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@UniqueOps
Copy link

Describe the bug
RuntimeError: Blocking calls must be done in the executor or a separate thread; Use await hass.async_add_executor_job(); at custom_components/sengledapi/sengledapi/devices/request.py, line 40: r = requests.post(self._url, headers=self._header, data=self._payload)

To Reproduce
Steps to reproduce the behavior:

  1. On Start/Restart

Expected behavior
Successful start of the component.

System configuration
System: Bare Metal
HA Version: 2023.3.6
SengledApi Version: v0.2.5

configuration.yaml

sengledapi:
  username: ***********@**.com
  password: ***********
  country: us
  wifi: true

home-assistant.log

@UniqueOps UniqueOps added the bug Something isn't working label Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants