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

Detected blocking call warning #89

Open
Enzokot opened this issue Feb 4, 2023 · 0 comments
Open

Detected blocking call warning #89

Enzokot opened this issue Feb 4, 2023 · 0 comments

Comments

@Enzokot
Copy link

Enzokot commented Feb 4, 2023

With call service (HA version 2023.2), for example:

service: media_player.play_media
data:
  entity_id: media_player.samsung_tv_remote
  media_content_type: 'send_key'
  media_content_id: 'KEY_PLAY'

The warnings appear in the log:

2023-02-04 12:16:26.661 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call to sleep inside the event loop. This is causing stability issues. Please report issue to the custom integration author for samsungtv_encrypted doing blocking calls at custom_components/samsungtv_encrypted/PySmartCrypto/pysmartcrypto.py, line 105: time.sleep(0.1)

2023-02-04 12:16:36.384 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call to putrequest inside the event loop. This is causing stability issues. Please report issue to the custom integration author for samsungtv_encrypted doing blocking calls at custom_components/samsungtv_encrypted/PySmartCrypto/pysmartcrypto.py, line 95: websocket_response = requests.get(step4_url)
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

1 participant