Skip to content

Remove main thread blocking calls#740

Open
therve wants to merge 1 commit intohacf-fr:mainfrom
therve:therve/remove-blocking-calls
Open

Remove main thread blocking calls#740
therve wants to merge 1 commit intohacf-fr:mainfrom
therve:therve/remove-blocking-calls

Conversation

@therve
Copy link
Copy Markdown

@therve therve commented Dec 9, 2024

HA is complaining about open calls in the main thread which could cause problem. See https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open

HA is complaining about `open` calls in the main thread which could
cause problem. See https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open
@Quentame
Copy link
Copy Markdown
Member

Nice !

Have you tested with HA ?

Things in the warning isn't causing issues ?

@therve
Copy link
Copy Markdown
Author

therve commented Dec 15, 2024

I haven't tested with HA, but I expect it to be transparent. The warnings are not causing any issue as of now, it's just best practice.

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

Successfully merging this pull request may close these issues.

2 participants