Erik
70d2205834
Address review comments
2024-11-20 20:12:17 +01:00
Erik
14d5e9a74e
Merge remote-tracking branch 'upstream/allthebackupchanges' into backup_hassio
2024-11-20 20:10:26 +01:00
Erik
339e75e0a4
Add tests
2024-11-20 17:59:41 +01:00
Paul Bottein
30c8ff775a
Rename remove to delete in backup websocket type ( #131023 )
2024-11-20 15:21:31 +01:00
Robert Resch
791280506d
Speed up CI for feature branch ( #131030 )
...
* Speed up CI for feature branch
* adjust
* fix
* fix
* fix
* fix
2024-11-20 14:08:21 +01:00
Erik Montnemery and Robert Resch
3e01e393a8
Report backup size in bytes instead of MB ( #131028 )
...
Co-authored-by: Robert Resch <robert@resch.dev >
2024-11-20 14:08:07 +01:00
Erik
d6b18ae3de
Remove redundant hassio parametrization of tests
2024-11-20 13:04:41 +01:00
Erik
038468fc16
Merge remote-tracking branch 'upstream/allthebackupchanges' into backup_hassio
2024-11-20 08:24:00 +01:00
Erik
8347758a5a
Address review comments
2024-11-20 08:19:12 +01:00
Erik Montnemery
e08fe57bf3
Remove class backup.BackupUploadMetadata ( #130977 )
...
Remove class backup.BackupMetadata
2024-11-19 21:53:22 +01:00
Erik Montnemery
b447476bcc
Adjust backup NewBackup class ( #130976 )
2024-11-19 21:52:41 +01:00
Erik
556b4853e0
Add hassio to after_dependencies of backup
2024-11-19 21:25:51 +01:00
Erik
1bebd26956
Add backup platform to the hassio integration
2024-11-19 21:08:43 +01:00
Erik Montnemery
db76939114
Fix typo in backup tests ( #130978 )
2024-11-19 20:28:15 +01:00
Erik Montnemery
6680581808
Fix BackupManager.async_get_backup ( #130975 )
2024-11-19 19:48:01 +01:00
Erik Montnemery
20488721bd
Refactor BackupManager ( #130947 )
...
* Refactor BackupManager
* Adjust
* Adjust backup creation
* Copy in executor
2024-11-19 19:09:15 +01:00
Martin Hjelmare
4a44d19c53
Rename remove backup to delete backup ( #130940 )
...
* Rename remove backup to delete backup
* Revert "backup/delete"
2024-11-19 15:18:05 +01:00
Erik Montnemery
777e3c82f2
Disable core local backup agent in hassio ( #130933 )
2024-11-19 09:31:15 +01:00
Martin Hjelmare and Erik Montnemery
1a3a089cdd
Add agent delete backup ( #130921 )
...
* Add backup agent delete backup
* Remove agents delete websocket command
* Update docstring
Co-authored-by: Erik Montnemery <erik@montnemery.com >
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com >
2024-11-19 08:43:13 +01:00
Erik Montnemery
3cd69c32ec
Remove class backup.backup.LocalBackup ( #130919 )
2024-11-19 01:32:51 +01:00
Erik Montnemery
1ea2ace356
Improve backup manager backup creation tests ( #130916 )
2024-11-19 01:25:36 +01:00
Erik Montnemery
7b62ed2321
Improve backup websocket API tests ( #130912 )
...
* Improve backup websocket API tests
* Add missing snapshot
* Fix tests leaving files behind
2024-11-19 00:30:43 +01:00
Erik Montnemery
78053b487c
Rename backup slug to backup_id ( #130902 )
2024-11-18 22:24:51 +01:00
Erik Montnemery
c7e435693e
Add temporary check for BackupAgent.async_remove_backup ( #130893 )
2024-11-18 21:29:45 +01:00
Martin Hjelmare
22eb0a5656
Add backup config storage ( #130871 )
...
* Add base for backup config
* Allow updating backup config
* Test loading backup config
* Add backup config update method
2024-11-18 21:08:59 +01:00
Erik Montnemery
ae18e66a3c
Remove LOCAL_AGENT_ID constant from backup manager ( #130895 )
2024-11-18 20:35:02 +01:00
Erik Montnemery
9f0a06a718
Include backup agent error in response to WS command backup/details ( #130892 )
2024-11-18 20:33:59 +01:00
Erik Montnemery
3bc45fec61
Adjust code related to WS command backup/info ( #130890 )
2024-11-18 19:58:41 +01:00
Erik Montnemery
c5757b57c3
Include backup agent error in response to WS command backup/info ( #130884 )
2024-11-18 18:48:21 +01:00
Erik Montnemery
a47a70df52
Make local backup a backup agent ( #130623 )
...
* Make local backup a backup agent
* Adjust
* Adjust
* Adjust
* Adjust tests
* Adjust
* Adjust
* Adjust docstring
* Adjust
* Protect members of CoreLocalBackupAgent
* Remove redundant check for file
* Make the backup.create service use the first local agent
* Add BackupAgent.async_get_backup
* Fix some TODOs
* Add support for downloading backup from a remote agent
* Fix restore
* Fix test
* Adjust kitchen_sink test
* Remove unused method BackupManager.async_get_backup_path
* Re-enable kitchen sink test
* Remove BaseBackupManager.async_upload_backup
* Support restore from remote agent
* Fix review comments
2024-11-18 17:10:30 +01:00
Erik Montnemery
257c750b59
Remove WS command backup/upload ( #130588 )
...
* Remove WS command backup/upload
* Disable failing kitchen_sink test
2024-11-18 14:33:34 +01:00
Martin Hjelmare
8fc470b943
Test kitchen sink backup ( #130609 )
...
* Test agents_list_backups
* Test agents_info
* Test agents_download
* Export Backup from manager
* Test agents_upload
* Update tests after rebase
* Use backup domain
2024-11-14 16:03:48 +01:00
Erik Montnemery
e8179f7a73
Tweak backup agent interface ( #130613 )
...
* Tweak backup agent interface
* Adjust kitchen_sink
2024-11-14 15:49:17 +01:00
Martin Hjelmare
e9247fb94b
Export relevant names from backup integration ( #130596 )
2024-11-14 13:14:36 +01:00
Joakim Sørensen and Erik
5a69488630
Allow setting password for backups ( #110630 )
...
* Allow setting password for backups
* use is_hassio from helpers
* move it
* Fix getting psw
* Fix restoring with psw
* Address review comments
* Improve docstring
* Adjust kitchen sink
* Adjust
---------
Co-authored-by: Erik <erik@montnemery.com >
2024-11-14 12:53:28 +01:00
Erik Montnemery
d1185f8754
Align parameter names in backup/agents/* WS commands ( #130590 )
2024-11-14 12:44:59 +01:00
Erik Montnemery
0599983a37
Add additional options to WS command backup/generate ( #130530 )
...
* Add additional options to WS command backup/generate
* Improve test
* Improve test
2024-11-14 09:31:08 +01:00
Martin Hjelmare and Erik Montnemery
f99b319048
Rename backup sync agent to backup agent ( #130575 )
...
* Rename sync agent module to agent
* Rename BackupSyncAgent to BackupAgent
* Fix test typo
* Rename async_get_backup_sync_agents to async_get_backup_agents
* Rename and clean up remaining sync things
* Update kitchen sink
* Apply suggestions from code review
* Update test_manager.py
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com >
2024-11-14 02:00:49 +01:00
Martin Hjelmare
957ece747d
Make BackupSyncMetadata model a dataclass ( #130555 )
...
Make backup BackupSyncMetadata model a dataclass
2024-11-13 21:11:25 +01:00
Joakim Sørensen and Erik
325738829d
MVP implementation of Backup sync agents ( #126122 )
...
* init sync agent
* add syncing
* root import
* rename list to info and add sync state
* Add base backup class
* Revert unneded change
* adjust tests
* move to kitchen_sink
* split
* move
* Adjustments
* Adjustment
* update
* Tests
* Test unknown agent
* adjust
* Adjust for different test environments
* Change /info WS to contain a dictinary
* reorder
* Add websocket command to trigger sync from the supervisor
* cleanup
* Make mypy happier
---------
Co-authored-by: Erik <erik@montnemery.com >
2024-11-13 20:22:54 +01:00
Erik Montnemery
093b16c723
Make WS command backup/generate send events ( #130524 )
...
* Make WS command backup/generate send events
* Update backup.create service
2024-11-13 16:16:49 +01:00
Steven B.
ac4cb52dbb
Bump ring-doorbell to 0.9.12 ( #130419 )
2024-11-13 08:04:23 -06:00
72b976f832
Add Sky remote integration ( #124507 )
...
Co-authored-by: Kyle Cooke <saty9@users.noreply.github.com >
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
2024-11-13 14:29:04 +01:00
Daniel Hjelseth Høyer
f6bc5f050e
Bump millheater to 0.12.2 ( #130454 )
2024-11-13 14:28:19 +01:00
epenet and Michael
8300afc00d
Improve type hints in fritz config flow ( #130511 )
...
* Improve type hints in fritz config flow
* Improve coverage
* Apply suggestions from code review
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com >
---------
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com >
2024-11-13 13:45:52 +01:00
epenet
ab11b84678
Improve type hints in fritzbox config flow ( #130509 )
2024-11-13 13:01:54 +01:00
Joost Lekkerkerker
b78453b85b
Bump aiowithings to 3.1.3 ( #130504 )
2024-11-13 12:21:15 +01:00
Joost Lekkerkerker
b270e4556c
Avoid core manifest to have an issue tracker ( #130514 )
2024-11-13 12:16:07 +01:00
Joost Lekkerkerker
e90893e2bc
Fix Music Assistant manifest ( #130515 )
2024-11-13 11:43:31 +01:00
dependabot[bot]
a06e7e31b9
Bump github/codeql-action from 3.27.1 to 3.27.3 ( #130489 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.27.1 to 3.27.3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v3.27.1...v3.27.3 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-13 11:06:38 +01:00