ha-supervisor/tests
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
..
addons Bump pylint from 2.11.1 to 2.12.1 (#3330) 2021-11-29 22:56:38 +01:00
api Add /supervisor/available_updates endpoint (#3300) 2021-11-17 09:28:46 +01:00
backups Notify HA Core when backup is being executed (#3305) 2022-01-05 11:57:41 +01:00
dbus Use Python dbus-next D-Bus library (#3234) 2021-10-18 23:06:44 +02:00
discovery Add Add-on discovery schema for rtsp-to-webrtc (#3392) 2022-01-05 11:30:15 +01:00
docker Bump pyupgrade from 2.26.0 to 2.26.0.post1 (#3131) 2021-09-21 18:22:56 +02:00
fixtures Don't remove add-on repos if add-on is installed (#3364) 2021-12-14 21:04:31 +01:00
hardware Bump pyupgrade from 2.26.0 to 2.26.0.post1 (#3131) 2021-09-21 18:22:56 +02:00
homeassistant Fix typos (#2704) 2021-03-09 13:37:10 +01:00
host Use Python dbus-next D-Bus library (#3234) 2021-10-18 23:06:44 +02:00
jobs Support OS-Agent Data disk (#3120) 2021-09-17 15:01:07 +02:00
misc Next generation hardware handling (#2429) 2021-01-28 15:26:56 +01:00
os Return list of possible data disk targets (#3133) 2021-09-21 14:51:58 +02:00
resolution Rename unsupported reason container to software (#3240) 2021-10-19 11:26:58 +02:00
services Fix services validation & add tests (#1456) 2020-01-27 21:38:26 +01:00
store Don't remove add-on repos if add-on is installed (#3364) 2021-12-14 21:04:31 +01:00
utils Use Python dbus-next D-Bus library (#3234) 2021-10-18 23:06:44 +02:00
__init__.py Rename Hass.io -> Supervisor (#1522) 2020-02-21 17:55:41 +01:00
common.py Use Python dbus-next D-Bus library (#3234) 2021-10-18 23:06:44 +02:00
conftest.py De-duplicate Backup/Restore logic (#3311) 2021-12-14 17:21:52 +00:00
const.py Use deepmerge for options (#3162) 2021-09-29 09:37:04 +02:00
test_arch.py Odroid-C4 (#2226) 2020-11-09 08:57:18 +01:00
test_auth.py Speedup HA core auth (#2144) 2020-10-19 16:38:28 +02:00
test_bus.py Add bus system for handling events hw/pulse/docker (#2999) 2021-08-09 19:30:26 +02:00
test_core.py Time handling (#2901) 2021-06-09 09:38:32 +02:00
test_coresys.py Use custom user agent string for aiohttp (#3033) 2021-07-28 14:46:37 +02:00
test_ingress.py Rename Hass.io -> Supervisor (#1522) 2020-02-21 17:55:41 +01:00
test_main.py Supervisor container startup health function (#2214) 2020-11-03 16:36:10 +01:00
test_updater.py Using images data from version file (#2969) 2021-06-18 22:59:11 +02:00
test_validate.py Only support IPv4 for DNS (#2040) 2020-09-10 23:51:31 +02:00