forked from jcwillox/hass-auto-backup
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Address blocking file operation in log (jcwillox#145)
- 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.
- Loading branch information
1 parent
413dfe6
commit d4330e1
Showing
3 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters