Watchdog for Add-ons (#1970)

* Watchdog for Add-ons

* Run task

* Extend appliaction watchdog

* fix spell

* Add running tasks

* Add tests

* Fix states

* Update supervisor/misc/tasks.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/test_validate.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Adjust timeout

* change timeout

* Modify tasker

* slots the task object

* fix typing

* Add tests

* fix lint

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
Pascal Vizeli
2020-08-26 22:20:35 +02:00
committed by GitHub
parent 8dea50ce83
commit efcfc1f841
26 changed files with 417 additions and 139 deletions

View File

@@ -135,7 +135,7 @@ class AuthError(HassioError):
class AuthPasswordResetError(HassioError):
"""Auth error if password reset fails."""
"""Auth error if password reset failed."""
# Host
@@ -150,11 +150,11 @@ class HostNotSupportedError(HassioNotSupportedError):
class HostServiceError(HostError):
"""Host service functions fails."""
"""Host service functions failed."""
class HostAppArmorError(HostError):
"""Host apparmor functions fails."""
"""Host apparmor functions failed."""
# API