* Raise Home Assistant error in case backup restore fails This change raises a Home Assistant error in case the backup restore fails. The Supervisor is checking some common issues before starting the actual restore in background. This early checks raise an exception (represented by a HTTP 400 error). This change catches such errors and raises a Home Assistant error with the message from the Supervisor exception. * Add test coverage |
||
---|---|---|
.. | ||
__init__.py | ||
common.py | ||
conftest.py | ||
test_addon_manager.py | ||
test_addon_panel.py | ||
test_auth.py | ||
test_backup.py | ||
test_binary_sensor.py | ||
test_config_flow.py | ||
test_diagnostics.py | ||
test_discovery.py | ||
test_handler.py | ||
test_http.py | ||
test_ingress.py | ||
test_init.py | ||
test_issues.py | ||
test_repairs.py | ||
test_sensor.py | ||
test_system_health.py | ||
test_update.py | ||
test_websocket_api.py |