* Added shared space to the list of all the albums
* Added tests
* added more tests
* Apply suggestions from code review
---------
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
* Add external usb drives
* Add partition percentage used
* Move icons to icons.json
* Add external usb to diagnostics
* Add assert for external usb entity
* Fix reset external_usb
* Update homeassistant/components/synology_dsm/diagnostics.py
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
* Update homeassistant/components/synology_dsm/diagnostics.py
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
* Fix diagnostics
* Make each partition a device
* Add usb sensor tests
* Add diagnostics tests
* It is possible that api.external_usb is None
* Merge upstream into syno_external_usb
* add manufacturer and model to partition
* fix tests
---------
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
Co-authored-by: mib1185 <mail@mib85.de>
* 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 38877d8540.
* Revert "raise BackupAgentUnreachableError when NAS is unavailable"
This reverts commit 4d8cfae396.
* 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>
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
Co-authored-by: mib1185 <mail@mib85.de>
Co-authored-by: J. Nick Koston <nick@koston.org>