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

Fix: Address blocking file operation in log (#145) #169

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Doorshifter
Copy link

  • Resolved Home Assistant warning about blocking file operations in the auto_backup integration (Home Assistant warning message in log #145).
  • Updated handlers.py to replace synchronous open calls with aiofiles.open for non-blocking file writes.
  • Improved compatibility with Home Assistant's asyncio architecture, preventing event loop warnings.
  • Verified changes to ensure integration functionality remains intact.

- Resolved Home Assistant warning about blocking file operations in the `auto_backup` integration (jcwillox#145).
- Updated `handlers.py` to replace synchronous `open` calls with `aiofiles.open` for non-blocking file writes.
- Improved compatibility with Home Assistant's asyncio architecture, preventing event loop warnings.
- Verified changes to ensure integration functionality remains intact.
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.

1 participant