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
Robert Resch
2eaaadd736
Add go2rtc recommended version ( #130508 )
2024-11-13 11:01:05 +01:00
G Johansson
0ac00ef092
Fix legacy _attr_state handling in AlarmControlPanel ( #130479 )
2024-11-13 10:55:28 +01:00
Robert Resch
3092297979
Bump go2rtc-client to 0.1.1 ( #130498 )
2024-11-13 09:55:52 +01:00
827875473b
Fix RecursionError in Husqvarna Automower coordinator ( #123085 )
...
* reach maximum recursion depth exceeded in tests
* second background task
* Update homeassistant/components/husqvarna_automower/coordinator.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Update homeassistant/components/husqvarna_automower/coordinator.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* test
* modify test
* tests
* use correct exception
* reset mock
* use recursion_limit
* remove unneeded ticks
* test TimeoutException
* set lower recursionlimit
* remove not that important comment and move the other
* test that we connect and listen successfully
* Simulate hass shutting down
* skip testing against the recursion limit
* Update homeassistant/components/husqvarna_automower/coordinator.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* mock
* Remove comment
* Revert "mock"
This reverts commit e8ddaea3d7 .
* Move patch to decorator
* Make execution of patched methods predictable
* Parametrize test, make mocked start_listening block
* Apply suggestions from code review
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
Co-authored-by: Erik <erik@montnemery.com >
2024-11-13 09:54:37 +01:00
Joost Lekkerkerker
5cce369ce8
Bump aiowithings to 3.1.2 ( #130469 )
2024-11-13 07:55:33 +01:00
Joost Lekkerkerker
fdb773c921
Add title to water heater component ( #130446 )
2024-11-13 07:55:13 +01:00
starkillerOG
8b505a2273
Bump reolink_aio to 0.11.0 ( #130481 )
2024-11-13 07:35:51 +01:00
Charles Garwood
a9f468509b
Bump zwave-js-server-python to 0.59.1 ( #130468 )
2024-11-13 07:14:39 +01:00
J. Nick Koston
4ff8b8015c
Bump aiohttp to 3.11.0rc2 ( #130484 )
2024-11-12 22:07:26 -06:00
mrspouse
5c52e865a0
Correct spelling of BloodGlucoseConcentrationConverter ( #130449 )
...
* Correct spelling of BloodGlucoseConcentrationConverter
* Correct spelling of BloodGlucoseConcentrationConverter
2024-11-12 21:48:42 +01:00
Kelvin Dekker
6bfc0cbb0c
Fix typo in file strings ( #130465 )
2024-11-12 21:33:52 +01:00
G Johansson
388473ecd7
Add diagnostics to Nord Pool ( #130461 )
2024-11-12 19:55:27 +01:00
G Johansson
285468d85f
Fix translation in statistics ( #130455 )
...
* Fix translation in statistics
* Update homeassistant/components/statistics/strings.json
2024-11-12 18:44:32 +01:00
epenet
167025a18c
Simplify modern_forms config flow ( #130441 )
...
* Simplify modern_forms config flow
* Rename variable
* Drop CONF_NAME
2024-11-12 18:03:37 +01:00
Joakim Sørensen and Martin Hjelmare
ac0c75a598
Add upload capability to the backup integration ( #128546 )
...
* Add upload capability to the backup integration
* Limit context switch
* rename
* coverage for http
* Test receiving a backup file
* Update test_manager.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2024-11-12 15:27:53 +01:00