mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-16 14:30:26 +00:00
Add JobManager and Job decorator (#2225)
* Adds condition decorator to block execution that require internet * Fix exsisting tests * Add internet state to network info * Add healthy condition * Add tests * It's all changed * rename
This commit is contained in:
@@ -293,3 +293,10 @@ class ResolutionError(HassioError):
|
||||
|
||||
class ResolutionNotFound(ResolutionError):
|
||||
"""Raise if suggestion/issue was not found."""
|
||||
|
||||
|
||||
# Job
|
||||
|
||||
|
||||
class JobException(HassioError):
|
||||
"""Base job exception."""
|
||||
|
||||
Reference in New Issue
Block a user