mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-16 14:30:26 +00:00
Resolution: extend type and context (#2130)
* Resolution: extend type and context * fix property * add helper * fix api * fix tests * Fix patch * finish tests * Update supervisor/resolution/const.py Co-authored-by: Joakim Sørensen <joasoe@gmail.com> * Update supervisor/resolution/const.py Co-authored-by: Joakim Sørensen <joasoe@gmail.com> * Fix type * fix lint * Update supervisor/api/resolution.py Co-authored-by: Joakim Sørensen <joasoe@gmail.com> * Update supervisor/resolution/__init__.py Co-authored-by: Joakim Sørensen <joasoe@gmail.com> * Update API & add more tests * Update supervisor/api/resolution.py Co-authored-by: Joakim Sørensen <joasoe@gmail.com> * Update supervisor/resolution/__init__.py Co-authored-by: Joakim Sørensen <joasoe@gmail.com> * Update supervisor/resolution/__init__.py Co-authored-by: Joakim Sørensen <joasoe@gmail.com> * fix black * remove azure ci * fix test * fix tests * fix tests * fix tests p2 Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
This commit is contained in:
@@ -270,3 +270,14 @@ class HardwareNotSupportedError(HassioNotSupportedError):
|
||||
|
||||
class PulseAudioError(HassioError):
|
||||
"""Raise if an sound error is happening."""
|
||||
|
||||
|
||||
# Resolution
|
||||
|
||||
|
||||
class ResolutionError(HassioError):
|
||||
"""Raise if an error is happning on resoltuion."""
|
||||
|
||||
|
||||
class ResolutionNotFound(ResolutionError):
|
||||
"""Raise if suggestion/issue was not found."""
|
||||
|
||||
Reference in New Issue
Block a user