* 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>
* 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>