Fix HAOS sync output (#2755)

* Fix HAOS sync output

* revert api change

* As usaly

* Simplify code

* Adjust error handling
This commit is contained in:
Pascal Vizeli
2021-03-26 14:33:14 +01:00
committed by GitHub
parent 58c40cbef6
commit 9194088947
6 changed files with 96 additions and 28 deletions

View File

@@ -95,7 +95,7 @@ class HassOSUpdateError(HassOSError):
"""Error on update of a HassOS."""
class HassOSNotSupportedError(HassioNotSupportedError):
class HassOSJobError(HassOSError, JobException):
"""Function not supported by HassOS."""