Joakim Sørensen
25e887b457
Move backup plaform loading to the base class ( #128449 )
2024-10-15 12:44:13 -04:00
Joakim Sørensen
fb7bed2ea0
Add WS endpoint to fetch the details of a backup ( #128430 )
...
* Add WS endpoint to fetch the details of a backup
* Shorten
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Adjust
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-10-15 13:00:34 +02:00
Joakim Sørensen
a14cb13194
Add BaseBackupManager as a common interface for backup managers ( #126611 )
...
* Add BaseBackupManager as a common interface for backup managers
* Document the key
* Update homeassistant/components/backup/manager.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-10-15 12:31:12 +02:00
epenet
8bbbaae290
Use HassKey in backup ( #127546 )
...
* Use HassKey in backup
* Use DATA_MANAGER
2024-10-04 16:01:50 +02:00
Paulus Schoutsen
86891351f6
Exclude Text-to-Speech cache from backups ( #127001 )
...
Text-to-speech cache doesn't need to be included in backups.
2024-09-28 18:22:57 +02:00
Erik Montnemery
fce2e21c9f
Update icons.json to new service schema part 1 ( #124768 )
2024-08-28 13:47:02 +02:00
Sid
2cc916db6d
Replace pylint broad-except with Ruff BLE001 ( #116250 )
2024-05-07 14:00:27 +02:00
Joost Lekkerkerker
d10a244eaa
Add service icons to Backup ( #113277 )
2024-03-14 14:00:57 +01:00
Paulus Schoutsen
f416d67d21
Remove built-in support for import_executor in manifest ( #112725 )
2024-03-08 12:02:32 -05:00
Marc Mueller
ff3a801936
Add empty line after module docstring [a-d] ( #112697 )
2024-03-08 14:51:32 +01:00
Marc Mueller
f3594c543d
Use KEY_HASS [a-g] ( #112609 )
2024-03-07 18:09:20 +01:00
J. Nick Koston
f3a9756f81
Avoid waiting for integration platforms in the parent integration ( #112467 )
2024-03-05 21:16:42 -10:00
J. Nick Koston
675ddaf742
Bump securetar to 2024.2.1 ( #111782 )
2024-02-28 14:31:41 -10:00
J. Nick Koston
f1398dd127
Import backup in the executor to avoid blocking the event loop ( #111781 )
2024-02-28 14:20:10 -10:00
Joakim Sørensen
f622ddef47
Move backup/* WS commands to the backup integration ( #111636 )
...
Revert "Revert "Move backup/* WS commands to the backup integration" (#111136 )"
This reverts commit 8f83426895
.
2024-02-27 11:56:07 -05:00
Joakim Sørensen
8f83426895
Revert "Move backup/* WS commands to the backup integration" ( #111136 )
...
Revert "Move backup/* WS commands to the backup integration (#110651 )"
This reverts commit ec4e6c3a74
.
2024-02-22 16:08:30 +01:00
Joakim Sørensen
ec4e6c3a74
Move backup/* WS commands to the backup integration ( #110651 )
...
* Move backup/* WS commands to the backup integration
* Call correct command
* Use debug for logging
* Remove assertion of hass.data for setup test
* parametrize token fixture
2024-02-22 10:25:38 +01:00
J. Nick Koston
0d4c82b54d
Convert Integration platforms processors where nothing is awaited to callbacks ( #110825 )
...
Convert Integration platforms processors where nothing is awaited callbacks
2024-02-17 20:49:47 -05:00
Joakim Sørensen
57d3f3f9f7
Split pre/post backup actions into dedicated methods ( #110632 )
...
* Split pre/post backup actions into dedicated methods
* Update homeassistant/components/backup/manager.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-02-15 12:38:36 +01:00
J. Nick Koston
3a053afac6
Create backups files without having to copy inner tarballs ( #110267 )
2024-02-14 10:08:22 -06:00
J. Nick Koston
4d1e3cdf49
Bump securetar to 2024.2.0 ( #110383 )
2024-02-12 19:50:59 +01:00
Franck Nijhof
aea2fc68e7
Migrate backup services to support translations ( #96308 )
...
* Migrate backup services to support translations
* Apply suggestions from code review
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
---------
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2023-07-11 22:00:00 +02:00
Ville Skyttä
ced67e5800
Import `util.dt` as `dt_util` in `components/[a-d]*` ( #93756 )
2023-05-30 00:02:06 +03:00
Erik Montnemery
8053073a77
Add empty config schema to integrations a-c ( #93608 )
2023-05-29 14:38:33 -04:00
rlippmann
f5911bcad6
Add slots to dataclasses in default_config ( #91410 )
...
* add dataclass slots to default config items
* remove slots from sun mixing
2023-04-14 14:22:39 -04:00
J. Nick Koston
00a4279d64
Speed up backups ( #90613 )
2023-04-01 15:14:59 -04:00
J. Nick Koston
e94c11371d
Bump securetar to 2023.3.0 ( #90612 )
...
changelog: https://github.com/pvizeli/securetar/compare/2022.02.0...2023.3.0
2023-04-01 10:22:26 -04:00
J. Nick Koston
e87359761b
Fix some I/O in the event loop during backup ( #89894 )
2023-03-17 20:28:29 -04:00
J. Nick Koston
138bbd9c28
Use json_loads_object util in backup ( #89895 )
...
* Use json_loads_object util in backup
* adjust test
2023-03-17 20:25:29 -04:00
epenet
ba23816a0c
Inverse json import logic ( #88099 )
...
* Fix helpers and util
* Adjust components
* Move back errors
* Add report
* mypy
* mypy
* Assert deprecation messages
* Move test_json_loads_object
* Adjust tests
* Fix rebase
* Adjust pylint plugin
* Fix plugin
* Adjust references
* Adjust backup tests
2023-02-16 11:37:57 +01:00
Erik Montnemery
231aad7a68
Sort manifests 1 ( #87022 )
2023-02-08 20:29:44 +01:00
Franck Nijhof
b0cee0bc46
String formatting and max line length - Part 1 ( #84390 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-12-22 10:12:50 +01:00
epenet
5442d6af01
Improve msg type hint in websocket commands ( #80530 )
2022-10-18 16:41:17 +02:00
Franck Nijhof
2b27cfdabb
Set system & entity integration types ( #79593 )
2022-10-04 10:36:42 -04:00
Marc Mueller
9b9b553521
Disable no-self-use [pylint] ( #70641 )
...
* Disable no-self-use
* Remove disable comments
2022-04-25 07:41:01 -07:00
Franck Nijhof
c460100af1
Add backup.create service ( #70118 )
2022-04-20 08:56:05 +02:00
Joakim Sørensen
b44ce32c7f
Handle KeyError when loading backups ( #70028 )
2022-04-14 09:56:59 -07:00
epenet
ecd43f391f
Prettify json (manifest.json) ( #68886 )
2022-03-30 10:56:37 +02:00
Joakim Sørensen
6f61ed8799
Add backup platform support ( #68182 )
2022-03-15 14:46:02 -07:00
Joakim Sørensen
c5800d6103
Split out sync functions in backup manager ( #67428 )
2022-03-11 20:32:05 -08:00
Joakim Sørensen
e58ce7ab6e
Fix returned value from backup/info WS command ( #67439 )
2022-03-01 21:37:51 +01:00
Joakim Sørensen
32adeb8356
Remove class attributes for backup manager ( #67431 )
...
* Remove class attributes for backup manager
* remove patches
2022-03-01 15:16:18 +01:00
Joakim Sørensen
d018cbab3d
Enable strict typing for backup integration ( #67427 )
2022-03-01 13:16:10 +02:00
Joakim Sørensen
0ed51dae13
Add Backup integration ( #66395 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-28 15:48:12 -08:00