mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-14 21:40:20 +00:00
Add integrity check (#3608)
* Add integrity check * add API test * add tests * tests for add-ons
This commit is contained in:
@@ -471,3 +471,14 @@ class BackupError(HassioError):
|
||||
|
||||
class HomeAssistantBackupError(BackupError, HomeAssistantError):
|
||||
"""Raise if an error during Home Assistant Core backup is happening."""
|
||||
|
||||
|
||||
# Security
|
||||
|
||||
|
||||
class SecurityError(HassioError):
|
||||
"""Raise if an error during security checks are happening."""
|
||||
|
||||
|
||||
class SecurityJobError(SecurityError, JobException):
|
||||
"""Raise on Security job error."""
|
||||
|
||||
Reference in New Issue
Block a user