mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 10:29:27 +00:00
* Add search to media_player * rename attr * Add searchable property * add pagination parameters * Add suggested changes * Apply suggestions * Fix cast tests * Fix first set of components * update snapshot * More tests * more test fixes * Rename attr * first own test * Add to google test * Add service test * Rename search query arg * Add required feature to search service * remove kwarg * Update homeassistant/components/media_player/__init__.py Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com> * fix hue test --------- Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com> Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
16 lines
353 B
Python
16 lines
353 B
Python
"""Errors for the Media Player component."""
|
|
|
|
from homeassistant.exceptions import HomeAssistantError
|
|
|
|
|
|
class MediaPlayerException(HomeAssistantError):
|
|
"""Base class for Media Player exceptions."""
|
|
|
|
|
|
class BrowseError(MediaPlayerException):
|
|
"""Error while browsing."""
|
|
|
|
|
|
class SearchError(MediaPlayerException):
|
|
"""Error while searching."""
|