* raise BackupAgentUnreachableError when NAS is unavailable
* also raise BackupAgentUnreachableError during upload when nas unavailable
* Revert "also raise BackupAgentUnreachableError during upload when nas unavailable"
This reverts commit 38877d8540aa3c61c366069dc063bb9b4d866c48.
* Revert "raise BackupAgentUnreachableError when NAS is unavailable"
This reverts commit 4d8cfae396ea3be3409ed8f4784b9e2448954a04.
* check last_update_success of coordinator_central to get backup agents
* consider last_update_success before notify backup listeners
* add test
* use walrus := :)
* Add backup helper
* Add hassio to stage 1
* Apply same changes to newly merged `webdav` and `azure_storage` to fix inflight conflict
* Address comments, add tests
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
* Add support for per-backup agent encryption flag
* Adjust
* Don't attempt decrypting an unprotected backup
* Address review comments
* Add some tests
* Add fixture
* Rename fixture
* Correct condition for when we should encrypt or decrypt
* Update tests in integrations
* Improve test coverage
* Fix onedrive tests
* Add test
* Improve cipher worker shutdown
* Improve test coverage
* Fix google_drive tests
* Move inner class _CipherBackupStreamer._WorkerStatus to module scope
* pre-alpha state
* small type
* use ChunkAsyncStreamIterator from aiohttp_client helper
* create parent folders during upload if none exists
* check file station permissionsduring setup
* ensure backup-agents are reloaded
* adjust config flow
* fix check for availability of file station
* fix possible unbound
* add config flow tests
* fix existing tests
* add backup tests
* backup listeners are not async
* some more tests
* migrate existing config entries
* fix migration
* notify backup listeners only when needed during setup
* add backup settings to options flow
* switch back to the listener approach from the dev docs example
* add negative tests
* fix tests
* use HassKey
* fix tests
* Revert "use HassKey"
This reverts commit 71c5a4d6fa9c04b4907ff5f8df6ef7bd1737aa85.
* use hass loop call_soon instead of non-eager-start tasks
* use HassKey for backup-agent-listeners
* delete empty backup-agent-listener list from hass.data
* don't handle single file download errors
* Apply suggestions from code review
Co-authored-by: J. Nick Koston <nick@koston.org>
* add more tests
* we don't have entities related to file_station api
* add more backup tests
* test unload backup agent
* revert sorting of properties
* additional use hass config location for default backup path
---------
Co-authored-by: J. Nick Koston <nick@koston.org>