Stefan Agner 1799c765b4
Notify HA Core when backup is being executed (#3305)
* Notify HA Core when backup is being executed

Notify Home Assistant Core using the Websocket API when the Home Assistant
config directory is about to get backed up. This makes sure the Core can
prepare the SQLite database (if active) so it safe to make a backup.

* Only close WebSocket connection on connection errors

Let regular WebSocket errors bubble to the caller so they can be handled
explicitly.

* Add version restriction to backup/start/end WS commands

* Restore Home Assistant metadata when Home Assistant is selected
2022-01-05 11:57:41 +01:00
..
2021-03-09 13:37:10 +01:00
2021-09-17 15:01:07 +02:00
2021-09-29 09:37:04 +02:00
2020-11-09 08:57:18 +01:00
2020-10-19 16:38:28 +02:00
2021-06-09 09:38:32 +02:00